mirror of
https://git.freebsd.org/src.git
synced 2026-01-16 23:02:24 +00:00
aq(4): Use sys, not userland, headers
Some checks are pending
Cross-build Kernel / amd64 ubuntu-22.04 (clang-15) (push) Waiting to run
Cross-build Kernel / aarch64 ubuntu-22.04 (clang-15) (push) Waiting to run
Cross-build Kernel / amd64 ubuntu-24.04 (clang-18) (push) Waiting to run
Cross-build Kernel / aarch64 ubuntu-24.04 (clang-18) (push) Waiting to run
Cross-build Kernel / amd64 macos-latest (clang-18) (push) Waiting to run
Cross-build Kernel / aarch64 macos-latest (clang-18) (push) Waiting to run
Some checks are pending
Cross-build Kernel / amd64 ubuntu-22.04 (clang-15) (push) Waiting to run
Cross-build Kernel / aarch64 ubuntu-22.04 (clang-15) (push) Waiting to run
Cross-build Kernel / amd64 ubuntu-24.04 (clang-18) (push) Waiting to run
Cross-build Kernel / aarch64 ubuntu-24.04 (clang-18) (push) Waiting to run
Cross-build Kernel / amd64 macos-latest (clang-18) (push) Waiting to run
Cross-build Kernel / aarch64 macos-latest (clang-18) (push) Waiting to run
And remove some unused definitions. Sponsored by: The FreeBSD Foundation Differential Revision: https://reviews.freebsd.org/D54152
This commit is contained in:
parent
473bc5778c
commit
d2850435f1
6 changed files with 5 additions and 12 deletions
|
|
@ -35,14 +35,10 @@
|
|||
#ifndef _AQ_COMMON_H_
|
||||
#define _AQ_COMMON_H_
|
||||
|
||||
#include <stdint.h>
|
||||
#include <sys/types.h>
|
||||
|
||||
#define ETH_MAC_LEN 6
|
||||
|
||||
/* Types definition */
|
||||
#define TRUE 1
|
||||
#define FALSE 0
|
||||
|
||||
#define s8 __int8_t
|
||||
#define u8 __uint8_t
|
||||
#define u16 __uint16_t
|
||||
|
|
@ -51,7 +47,6 @@
|
|||
#define u64 __uint64_t
|
||||
#define s64 __int64_t
|
||||
#define s32 int
|
||||
typedef __uint32_t DWORD;
|
||||
|
||||
#define ETIME ETIMEDOUT
|
||||
#define EOK 0
|
||||
|
|
@ -77,7 +72,6 @@ typedef __uint32_t DWORD;
|
|||
} while (0)
|
||||
|
||||
|
||||
#define LODWORD(a) ((DWORD)(a))
|
||||
#define LOWORD(a) ((u16)(a))
|
||||
#define ARRAY_SIZE(x) (sizeof(x) / sizeof((x)[0]))
|
||||
|
||||
|
|
|
|||
|
|
@ -38,7 +38,7 @@
|
|||
#ifndef AQ_DBG_H
|
||||
#define AQ_DBG_H
|
||||
|
||||
#include <syslog.h>
|
||||
#include <sys/syslog.h>
|
||||
#include <sys/systm.h>
|
||||
/*
|
||||
Debug levels:
|
||||
|
|
|
|||
|
|
@ -39,7 +39,7 @@
|
|||
#include <sys/cdefs.h>
|
||||
__FBSDID("$FreeBSD$");
|
||||
|
||||
#include <errno.h>
|
||||
#include <sys/errno.h>
|
||||
|
||||
#include "aq_common.h"
|
||||
|
||||
|
|
|
|||
|
|
@ -35,7 +35,7 @@
|
|||
#include <sys/cdefs.h>
|
||||
__FBSDID("$FreeBSD$");
|
||||
|
||||
#include <errno.h>
|
||||
#include <sys/errno.h>
|
||||
|
||||
#include "aq_common.h"
|
||||
#include "aq_hw.h"
|
||||
|
|
|
|||
|
|
@ -38,7 +38,7 @@
|
|||
#include <sys/cdefs.h>
|
||||
__FBSDID("$FreeBSD$");
|
||||
|
||||
#include <errno.h>
|
||||
#include <sys/errno.h>
|
||||
|
||||
#include "aq_common.h"
|
||||
|
||||
|
|
|
|||
|
|
@ -35,7 +35,6 @@
|
|||
#ifndef _AQ_HW_H_
|
||||
#define _AQ_HW_H_
|
||||
|
||||
#include <stdbool.h>
|
||||
#include <sys/types.h>
|
||||
#include <sys/cdefs.h>
|
||||
#include <machine/cpufunc.h>
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue