summaryrefslogtreecommitdiffstats
path: root/sys/pccard/pcic_pci.c
diff options
context:
space:
mode:
authorimp <imp@FreeBSD.org>2001-06-08 07:16:56 +0000
committerimp <imp@FreeBSD.org>2001-06-08 07:16:56 +0000
commit05d2bc21eb72cda1cbb3da5d05ccf702278302eb (patch)
treefdd327aa3305bfce7353b5a6d58a4b0cb211bbe6 /sys/pccard/pcic_pci.c
parent4b91e2ecf0aa1bb9c2c89a4f0ef1701e5aec268f (diff)
downloadFreeBSD-src-05d2bc21eb72cda1cbb3da5d05ccf702278302eb.zip
FreeBSD-src-05d2bc21eb72cda1cbb3da5d05ccf702278302eb.tar.gz
The TI-1031 is more like the TI-113x chips rather than the 12xx or
higher chips. Treat it as if it were a 113x. This is correct as far as 16-bit cards go, at least how we're using it. # It appears that my TI-1031 based pci card that YAMAMOTO shigeru-san gave # me on my trip to Japan now works.
Diffstat (limited to 'sys/pccard/pcic_pci.c')
-rw-r--r--sys/pccard/pcic_pci.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/sys/pccard/pcic_pci.c b/sys/pccard/pcic_pci.c
index 5076b4c..0dc6772 100644
--- a/sys/pccard/pcic_pci.c
+++ b/sys/pccard/pcic_pci.c
@@ -187,8 +187,9 @@ pcic_pci_ti_init(device_t dev)
u_int32_t device_id = pci_get_devid(dev);
char buf[128];
struct pcic_softc *sc = device_get_softc(dev);
- int ti113x = (device_id == PCI_DEVICE_ID_PCIC_TI1130)
- || (device_id == PCI_DEVICE_ID_PCIC_TI1131);
+ int ti113x = (device_id == PCI_DEVICE_ID_PCIC_TI1031) ||
+ (device_id == PCI_DEVICE_ID_PCIC_TI1130) ||
+ (device_id == PCI_DEVICE_ID_PCIC_TI1131);
syscntl = pci_read_config(dev, TI113X_PCI_SYSTEM_CONTROL, 4);
devcntl = pci_read_config(dev, TI113X_PCI_DEVICE_CONTROL, 1);
OpenPOWER on IntegriCloud