diff options
author | Warner Losh <imp@FreeBSD.org> | 2001-06-08 07:16:56 +0000 |
---|---|---|
committer | Warner Losh <imp@FreeBSD.org> | 2001-06-08 07:16:56 +0000 |
commit | 0c80bc97b866f8eace936ff720a4582608bf18fd (patch) | |
tree | fdd327aa3305bfce7353b5a6d58a4b0cb211bbe6 /sys | |
parent | 0978669829bf545e0e03e372036b685c01a3de1d (diff) | |
download | src-0c80bc97b866f8eace936ff720a4582608bf18fd.tar.gz src-0c80bc97b866f8eace936ff720a4582608bf18fd.zip |
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.
Notes
Notes:
svn path=/head/; revision=77903
Diffstat (limited to 'sys')
-rw-r--r-- | sys/pccard/pcic_pci.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/sys/pccard/pcic_pci.c b/sys/pccard/pcic_pci.c index 5076b4c63762..0dc6772bbdde 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); |