From 82fdce0977d507d9fe1918f716299b4d4ae7cc53 Mon Sep 17 00:00:00 2001 From: Noriaki Mitsunaga Date: Sun, 29 Oct 2000 06:54:32 +0000 Subject: [PATCH] Change flags of ncv and nsp driver. Both were conflicted with the flags used in lower layer (scsi_low.c). The flag of ncv for KME KXLC004 was chaged from 0x1 to 0x100. The flag of nsp for PIO mode was chaged from 0x1 to 0x100. --- etc/defaults/pccard.conf | 4 ++-- sys/dev/ncv/ncr53c500_pccard.c | 2 +- sys/dev/nsp/nsp_pccard.c | 2 +- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/etc/defaults/pccard.conf b/etc/defaults/pccard.conf index 46455d0f0d9..77f58924e98 100644 --- a/etc/defaults/pccard.conf +++ b/etc/defaults/pccard.conf @@ -1161,7 +1161,7 @@ card "KME" "KXLC002" # KME KXLC004 card "KME" "KXLC004" - config auto "ncv" ? 0xb4d00001 + config auto "ncv" ? 0xb4d00100 # IO DATA PCSC-DV # Macnica Miracle SCSI mPS100 @@ -1203,7 +1203,7 @@ card "WBT" "NinjaSCSI-3" # WORKBIT Ninja SCSI series (PIO mode) # (If you want to use them in PIO mode comment out above and uncommnet below.) #card "WBT" "NinjaSCSI-3" -# config auto "nsp" ? 0x1 +# config auto "nsp" ? 0x100 ########## opl ########## diff --git a/sys/dev/ncv/ncr53c500_pccard.c b/sys/dev/ncv/ncr53c500_pccard.c index d1ffd8934ba..ed0da2051d8 100644 --- a/sys/dev/ncv/ncr53c500_pccard.c +++ b/sys/dev/ncv/ncr53c500_pccard.c @@ -74,7 +74,7 @@ extern struct ncv_softc *ncvdata[]; #include "ncv.h" #endif -#define KME_KXLC004_01 0x1 +#define KME_KXLC004_01 0x100 #define OFFSET_KME_KXLC004_01 0x10 /* pccard support */ diff --git a/sys/dev/nsp/nsp_pccard.c b/sys/dev/nsp/nsp_pccard.c index 10e5b1bf20c..d4914ebe668 100644 --- a/sys/dev/nsp/nsp_pccard.c +++ b/sys/dev/nsp/nsp_pccard.c @@ -87,7 +87,7 @@ extern struct nsp_softc *nspdata[]; #include #include -#define PIO_MODE 1 /* pd_flags */ +#define PIO_MODE 0x100 /* pd_flags */ static int nspprobe(DEVPORT_PDEVICE devi); static int nspattach(DEVPORT_PDEVICE devi);