diff options
author | gj <gj@FreeBSD.org> | 2000-02-21 02:10:10 +0000 |
---|---|---|
committer | gj <gj@FreeBSD.org> | 2000-02-21 02:10:10 +0000 |
commit | 75e6ea817c517c136c75bc341475d572349eadd1 (patch) | |
tree | f8395cacd30684055ce5bb55cbecd54daf04419f /sys/isa/isavar.h | |
parent | 342be865629c3d818530a03b3a63b1cc1e9e7792 (diff) | |
download | FreeBSD-src-75e6ea817c517c136c75bc341475d572349eadd1.zip FreeBSD-src-75e6ea817c517c136c75bc341475d572349eadd1.tar.gz |
Newbus-ify the USR Sportster TA Intern driver.
Enable the driver in sys/conf/files.i386.
In isa/isavar.h increase ISA_NPORT from 32 to 50. This is required
because this brain-damaged card maps 49 (!) port ranges. This does
not have a negative impact because this value only specifies the maximum
number of entries in a linked list and not the size of an array which
is allocated in all drivers.
The register/fifo access routines were not newbus-ified because
1) I knew that the old code worked and is simpler and more efficient
2) the if_ed driver does something similar and
3) the newbus macros collapse to inb/outb anyway.
Reviewed and tested by: hm
Approved by: jkh
Diffstat (limited to 'sys/isa/isavar.h')
-rw-r--r-- | sys/isa/isavar.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/isa/isavar.h b/sys/isa/isavar.h index 2403681..34c81b4 100644 --- a/sys/isa/isavar.h +++ b/sys/isa/isavar.h @@ -49,7 +49,7 @@ typedef void isa_config_cb(void *arg, struct isa_config *config, int enable); #define ISA_ORDER_SPECULATIVE 1 /* legacy non-sensitive hardware */ #define ISA_ORDER_PNP 2 /* plug-and-play hardware */ -#define ISA_NPORT 32 +#define ISA_NPORT 50 #define ISA_NMEM 8 #define ISA_NIRQ 2 #define ISA_NDRQ 2 |