From 82a871e471f8ad586da398e6c748fde67b91ff23 Mon Sep 17 00:00:00 2001 From: Jeroen Ruigrok/asmodai Date: Sun, 18 Jul 2004 12:29:19 +0000 Subject: [PATCH] Add the Sony CXD1947, which seems to be used in some Sony Vaios. --- sys/bus/firewire/fwohci_pci.c | 6 +++++- sys/bus/firewire/fwohcireg.h | 3 ++- 2 files changed, 7 insertions(+), 2 deletions(-) diff --git a/sys/bus/firewire/fwohci_pci.c b/sys/bus/firewire/fwohci_pci.c index 420bb8461a..b9a591d8b6 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.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; diff --git a/sys/bus/firewire/fwohcireg.h b/sys/bus/firewire/fwohcireg.h index 508fb21db6..e0d5cba0ad 100644 --- a/sys/bus/firewire/fwohcireg.h +++ b/sys/bus/firewire/fwohcireg.h @@ -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) -- 2.41.0