diff options
author | Federico G. Schwindt <fgsch@cvs.openbsd.org> | 2006-07-19 20:58:46 +0000 |
---|---|---|
committer | Federico G. Schwindt <fgsch@cvs.openbsd.org> | 2006-07-19 20:58:46 +0000 |
commit | 84aab7c2b1974ec796adf39805882e84f13e17b7 (patch) | |
tree | 095b8ce800ef2a8d5941705b0c74d74df92311e4 /sys/dev | |
parent | 5b7c50a66ef52c0a20e202b27c0cb306112cc88c (diff) |
usually works better when you check for the right device id. tsk tsk.
Diffstat (limited to 'sys/dev')
-rw-r--r-- | sys/dev/pci/sdhc_pci.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/dev/pci/sdhc_pci.c b/sys/dev/pci/sdhc_pci.c index 723ec223eb2..5ae66552af5 100644 --- a/sys/dev/pci/sdhc_pci.c +++ b/sys/dev/pci/sdhc_pci.c @@ -1,4 +1,4 @@ -/* $OpenBSD: sdhc_pci.c,v 1.4 2006/07/18 17:28:14 fgsch Exp $ */ +/* $OpenBSD: sdhc_pci.c,v 1.5 2006/07/19 20:58:45 fgsch Exp $ */ /* * Copyright (c) 2006 Uwe Stuehler <uwe@openbsd.org> @@ -81,7 +81,7 @@ sdhc_pci_attach(struct device *parent, struct device *self, void *aux) /* Some TI controllers needs special treatment. */ if (PCI_VENDOR(pa->pa_id) == PCI_VENDOR_TI && - PCI_PRODUCT(pa->pa_id) == PCI_PRODUCT_TI_PCI7XX1_FLASH && + PCI_PRODUCT(pa->pa_id) == PCI_PRODUCT_TI_PCI7XX1_SD && pa->pa_function == 4) sdhc_takecontroller(pa); |