From: Jeroen Ruigrok/asmodai Date: Fri, 16 Jul 2004 12:37:02 +0000 (+0000) Subject: Add the SiS "7007" OHCI IEEE 1394 controller. X-Git-Tag: v2.0.1~10811 X-Git-Url: https://gitweb.dragonflybsd.org/dragonfly.git/commitdiff_plain/3672879eff1137554e62b11288a4547673358d55 Add the SiS "7007" OHCI IEEE 1394 controller. --- diff --git a/sys/bus/firewire/fwohci_pci.c b/sys/bus/firewire/fwohci_pci.c index 1ef6c223e0..064e80fb05 100644 --- a/sys/bus/firewire/fwohci_pci.c +++ b/sys/bus/firewire/fwohci_pci.c @@ -32,7 +32,7 @@ * POSSIBILITY OF SUCH DAMAGE. * * $FreeBSD: src/sys/dev/firewire/fwohci_pci.c,v 1.38 2004/01/23 17:37:09 simokawa Exp $ - * $DragonFly: src/sys/bus/firewire/fwohci_pci.c,v 1.10 2004/07/16 12:22:21 asmodai Exp $ + * $DragonFly: src/sys/bus/firewire/fwohci_pci.c,v 1.11 2004/07/16 12:37:02 asmodai Exp $ */ #define BOUNCE_BUFFER_TEST 0 @@ -117,6 +117,11 @@ fwohci_pci_probe( device_t dev ) device_set_desc(dev, "NEC uPD72874"); return 0; } + if (id == (FW_VENDORID_SIS | FW_DEVICE_7007)) { + /* It has no real identifier, using device id. */ + device_set_desc(dev, "SiS 7007"); + return 0; + } if (id == (FW_VENDORID_TI | FW_DEVICE_TITSB22)) { device_set_desc(dev, "Texas Instruments TSB12LV22"); return 0; diff --git a/sys/bus/firewire/fwohcireg.h b/sys/bus/firewire/fwohcireg.h index 3aefdb85c4..9536c54c37 100644 --- a/sys/bus/firewire/fwohcireg.h +++ b/sys/bus/firewire/fwohcireg.h @@ -32,13 +32,14 @@ * POSSIBILITY OF SUCH DAMAGE. * * $FreeBSD: src/sys/dev/firewire/fwohcireg.h,v 1.15 2004/01/06 14:24:01 simokawa Exp $ - * $DragonFly: src/sys/bus/firewire/fwohcireg.h,v 1.10 2004/07/16 12:22:21 asmodai Exp $ + * $DragonFly: src/sys/bus/firewire/fwohcireg.h,v 1.11 2004/07/16 12:37:02 asmodai Exp $ * */ #define PCI_CBMEM 0x10 #define FW_VENDORID_NATSEMI 0x1000 #define FW_VENDORID_NEC 0x1033 +#define FW_VENDORID_SIS 0x1039 #define FW_VENDORID_TI 0x104c #define FW_VENDORID_SONY 0x104d #define FW_VENDORID_VIA 0x1106 @@ -73,6 +74,7 @@ #define FW_DEVICE_UNINORTH (0x0031 << 16) #define FW_DEVICE_AIC5800 (0x5800 << 16) #define FW_DEVICE_FW322 (0x5811 << 16) +#define FW_DEVICE_7007 (0x7007 << 16) #define FW_DEVICE_82372FB (0x7605 << 16) #define PCI_INTERFACE_OHCI 0x10