diff --git a/sys/arch/i386/isa/isa.h b/sys/arch/i386/isa/isa.h index 1bc0cc5ff5b6..e7ac6fde50ef 100644 --- a/sys/arch/i386/isa/isa.h +++ b/sys/arch/i386/isa/isa.h @@ -95,7 +95,11 @@ unsigned kbd_8042cmd(int); #define IO_BT1 0x334 /* bustek 742a default addr. */ #define IO_AHA1 0x334 /* adaptec 1542 default addr. */ - /* 0x338 - 0x36F Open */ + /* 0x338 - 0x34F Open */ + +#define IO_WDS 0x350 /* WD7000 scsi */ + + /* 0x354 - 0x36F Open */ #define IO_FD2 0x370 /* secondary base i/o address */ #define IO_LPT1 0x378 /* Parallel Port #1 */ diff --git a/sys/arch/i386/isa/wd7000.c b/sys/arch/i386/isa/wd7000.c index 0ee838916bf2..ff993cf3d6a7 100644 --- a/sys/arch/i386/isa/wd7000.c +++ b/sys/arch/i386/isa/wd7000.c @@ -17,7 +17,7 @@ * drivers to finish off the job.. */ #include "wds.h" -#if WDS > 0 +#if NWDS > 0 #include #include diff --git a/sys/dev/isa/wd7000.c b/sys/dev/isa/wd7000.c index 0ee838916bf2..ff993cf3d6a7 100644 --- a/sys/dev/isa/wd7000.c +++ b/sys/dev/isa/wd7000.c @@ -17,7 +17,7 @@ * drivers to finish off the job.. */ #include "wds.h" -#if WDS > 0 +#if NWDS > 0 #include #include