summaryrefslogtreecommitdiffstats
path: root/sys/dev/firewire/fwohci_pci.c
diff options
context:
space:
mode:
authorimp <imp@FreeBSD.org>2005-07-17 19:59:07 +0000
committerimp <imp@FreeBSD.org>2005-07-17 19:59:07 +0000
commitbbacc56d64f7be5221368af54485525b63dd5589 (patch)
tree5eb1cf8ef8579fd8e46f0a9b8d559f3fd97b08c5 /sys/dev/firewire/fwohci_pci.c
parent9b222cbe2a49394bc5c63dd3dafb9ba53e699be8 (diff)
downloadFreeBSD-src-bbacc56d64f7be5221368af54485525b63dd5589.zip
FreeBSD-src-bbacc56d64f7be5221368af54485525b63dd5589.tar.gz
The Sony i.LINK CXD1947 device is a firewire bridge, but it doesn't
implement the OHCI programming interface. Thus it probes, but fails to attach because of an invalid OHCI version. Rather than count on the downstream tests properly failing, print a message that this chipset isn't supported and fail the probe.
Diffstat (limited to 'sys/dev/firewire/fwohci_pci.c')
-rw-r--r--sys/dev/firewire/fwohci_pci.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/dev/firewire/fwohci_pci.c b/sys/dev/firewire/fwohci_pci.c
index f584b98..f0ed39d 100644
--- a/sys/dev/firewire/fwohci_pci.c
+++ b/sys/dev/firewire/fwohci_pci.c
@@ -169,8 +169,8 @@ fwohci_pci_probe( device_t dev )
return BUS_PROBE_DEFAULT;
}
if (id == (FW_VENDORID_SONY | FW_DEVICE_CXD1947)) {
- device_set_desc(dev, "Sony i.LINK (CXD1947)");
- return BUS_PROBE_DEFAULT;
+ device_printf(dev, "Sony i.LINK (CXD1947) not supported");
+ return ENXIO;
}
if (id == (FW_VENDORID_SONY | FW_DEVICE_CXD3222)) {
device_set_desc(dev, "Sony i.LINK (CXD3222)");
OpenPOWER on IntegriCloud