Add the Sony CXD1947, which seems to be used in some Sony Vaios.
authorJeroen Ruigrok/asmodai <asmodai@dragonflybsd.org>
Sun, 18 Jul 2004 12:29:19 +0000 (12:29 +0000)
committerJeroen Ruigrok/asmodai <asmodai@dragonflybsd.org>
Sun, 18 Jul 2004 12:29:19 +0000 (12:29 +0000)
sys/bus/firewire/fwohci_pci.c
sys/bus/firewire/fwohcireg.h

index 420bb84..b9a591d 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.13 2004/07/18 12:27:36 asmodai Exp $
+ * $DragonFly: src/sys/bus/firewire/fwohci_pci.c,v 1.14 2004/07/18 12:29:19 asmodai Exp $
  */
 
 #define BOUNCE_BUFFER_TEST     0
@@ -166,6 +166,10 @@ fwohci_pci_probe( device_t dev )
                device_set_desc(dev, "Texas Instruments PCI4451");
                return 0;
        }
+       if (id == (FW_VENDORID_SONY | FW_DEVICE_CXD1947)) {
+               device_set_desc(dev, "Sony CXD1947");
+               return 0;
+       }
        if (id == (FW_VENDORID_SONY | FW_DEVICE_CXD3222)) {
                device_set_desc(dev, "Sony CXD3222");
                return 0;
index 508fb21..e0d5cba 100644 (file)
@@ -32,7 +32,7 @@
  * 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.13 2004/07/18 12:27:36 asmodai Exp $
+ * $DragonFly: src/sys/bus/firewire/fwohcireg.h,v 1.14 2004/07/18 12:29:19 asmodai Exp $
  *
  */
 #define                PCI_CBMEM               0x10
@@ -66,6 +66,7 @@
 #define                FW_DEVICE_TIPCI4410A    (0x8017 << 16)
 #define                FW_DEVICE_TIPCI4450     (0x8011 << 16)
 #define                FW_DEVICE_TIPCI4451     (0x8027 << 16)
+#define                FW_DEVICE_CXD3222       (0x8009 << 16)
 #define                FW_DEVICE_CXD3222       (0x8039 << 16)
 #define                FW_DEVICE_VT6306        (0x3044 << 16)
 #define                FW_DEVICE_R5C551        (0x0551 << 16)