diff options
author | ache <ache@FreeBSD.org> | 1997-03-26 15:19:55 +0000 |
---|---|---|
committer | ache <ache@FreeBSD.org> | 1997-03-26 15:19:55 +0000 |
commit | e27bac84c505d7a1b656909477bf094d65e7096b (patch) | |
tree | 5521706a357a2ce41f886f0afbd9ab09b0c11619 /usr.sbin/config/config.h | |
parent | 9e4ff703f5c19f141c6b5645ada102c9d24e0838 (diff) | |
download | FreeBSD-src-e27bac84c505d7a1b656909477bf094d65e7096b.zip FreeBSD-src-e27bac84c505d7a1b656909477bf094d65e7096b.tar.gz |
Add #define's for port "none" and "auto"
Now port ommiting is equal to port "none" not to port 0
Diffstat (limited to 'usr.sbin/config/config.h')
-rw-r--r-- | usr.sbin/config/config.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/usr.sbin/config/config.h b/usr.sbin/config/config.h index 6c524f5..e0504cc 100644 --- a/usr.sbin/config/config.h +++ b/usr.sbin/config/config.h @@ -125,6 +125,8 @@ struct device { int d_disabled; /* nonzero to skip probe/attach */ char *d_port; /* io port base manifest constant */ int d_portn; /* io port base (if number not manifest) */ +#define PORT_AUTO -1 /* automatically configured */ +#define PORT_NONE -2 /* no port */ char *d_mask; /* interrupt mask */ int d_maddr; /* io memory base */ int d_msize; /* io memory size */ |