From 8fd36d4aa67c2eeae3746d77c89a66a1dd5fc6ef Mon Sep 17 00:00:00 2001 From: Hidetoshi Shimokawa Date: Thu, 24 Apr 2003 07:29:52 +0000 Subject: [PATCH] Add some IEEE 1394 OHCI chips. Partially submitted by: Tetsuya Ryuchi PR: misc/51336 --- sys/dev/firewire/fwohci_pci.c | 20 ++++++++++++++++++++ sys/dev/firewire/fwohcireg.h | 7 ++++++- 2 files changed, 26 insertions(+), 1 deletion(-) diff --git a/sys/dev/firewire/fwohci_pci.c b/sys/dev/firewire/fwohci_pci.c index 14fb1ceee07..32e084d18ef 100644 --- a/sys/dev/firewire/fwohci_pci.c +++ b/sys/dev/firewire/fwohci_pci.c @@ -78,6 +78,14 @@ fwohci_pci_probe( device_t dev ) device_set_desc(dev, "NEC uPD72871/2"); return 0; } + if (id == (FW_VENDORID_NEC | FW_DEVICE_UPD72870)) { + device_set_desc(dev, "NEC uPD72870"); + return 0; + } + if (id == (FW_VENDORID_NEC | FW_DEVICE_UPD72874)) { + device_set_desc(dev, "NEC uPD72874"); + return 0; + } if (id == (FW_VENDORID_TI | FW_DEVICE_TITSB22)) { device_set_desc(dev, "Texas Instruments TSB12LV22"); return 0; @@ -98,6 +106,10 @@ fwohci_pci_probe( device_t dev ) device_set_desc(dev, "Texas Instruments TSB43AB22/A"); return 0; } + if (id == (FW_VENDORID_TI | FW_DEVICE_TITSB43AB23)) { + device_set_desc(dev, "Texas Instruments TSB43AB23"); + return 0; + } if (id == (FW_VENDORID_TI | FW_DEVICE_TIPCI4450)) { device_set_desc(dev, "Texas Instruments PCI4450"); return 0; @@ -106,6 +118,10 @@ fwohci_pci_probe( device_t dev ) device_set_desc(dev, "Texas Instruments PCI4410A"); return 0; } + if (id == (FW_VENDORID_TI | FW_DEVICE_TIPCI4451)) { + device_set_desc(dev, "Texas Instruments PCI4451"); + return 0; + } if (id == (FW_VENDORID_SONY | FW_DEVICE_CX3022)) { device_set_desc(dev, "Sony CX3022"); return 0; @@ -114,6 +130,10 @@ fwohci_pci_probe( device_t dev ) device_set_desc(dev, "VIA VT6306"); return 0; } + if (id == (FW_VENDORID_RICOH | FW_DEVICE_R5C551)) { + device_set_desc(dev, "Ricoh R5C551"); + return 0; + } if (id == (FW_VENDORID_RICOH | FW_DEVICE_R5C552)) { device_set_desc(dev, "Ricoh R5C552"); return 0; diff --git a/sys/dev/firewire/fwohcireg.h b/sys/dev/firewire/fwohcireg.h index 4bb891c4bbb..96b19b1ccc8 100644 --- a/sys/dev/firewire/fwohcireg.h +++ b/sys/dev/firewire/fwohcireg.h @@ -46,15 +46,20 @@ #define FW_DEVICE_UPD861 (0x0063 << 16) #define FW_DEVICE_UPD871 (0x00ce << 16) +#define FW_DEVICE_UPD72870 (0x00cd << 16) +#define FW_DEVICE_UPD72874 (0x00f2 << 16) #define FW_DEVICE_TITSB22 (0x8009 << 16) #define FW_DEVICE_TITSB23 (0x8019 << 16) #define FW_DEVICE_TITSB26 (0x8020 << 16) #define FW_DEVICE_TITSB43 (0x8021 << 16) #define FW_DEVICE_TITSB43A (0x8023 << 16) -#define FW_DEVICE_TIPCI4450 (0x8011 << 16) +#define FW_DEVICE_TITSB43AB23 (0x8024 << 16) #define FW_DEVICE_TIPCI4410A (0x8017 << 16) +#define FW_DEVICE_TIPCI4450 (0x8011 << 16) +#define FW_DEVICE_TIPCI4451 (0x8027 << 16) #define FW_DEVICE_CX3022 (0x8039 << 16) #define FW_DEVICE_VT6306 (0x3044 << 16) +#define FW_DEVICE_R5C551 (0x0551 << 16) #define FW_DEVICE_R5C552 (0x0552 << 16) #define FW_DEVICE_PANGEA (0x0030 << 16) #define FW_DEVICE_UNINORTH (0x0031 << 16)