Add the SiS "7007" OHCI IEEE 1394 controller.
authorJeroen Ruigrok/asmodai <asmodai@dragonflybsd.org>
Fri, 16 Jul 2004 12:37:02 +0000 (12:37 +0000)
committerJeroen Ruigrok/asmodai <asmodai@dragonflybsd.org>
Fri, 16 Jul 2004 12:37:02 +0000 (12:37 +0000)
sys/bus/firewire/fwohci_pci.c
sys/bus/firewire/fwohcireg.h

index 1ef6c22..064e80f 100644 (file)
@@ -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;
index 3aefdb8..9536c54 100644 (file)
  * 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