Date: Thu, 24 Apr 2003 14:52:23 +0900 (JST) From: Tetsuya Ryuchi <ryuchi@ryuchi.org> To: FreeBSD-gnats-submit@FreeBSD.org Subject: misc/51336: Probe new IEEE 1394 chip (NEC uPD72874) Message-ID: <200304240552.h3O5qNeA024174@kitty.ryuchi.org> Resent-Message-ID: <200304240600.h3O60Wti012394@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
>Number: 51336
>Category: misc
>Synopsis: Probe new IEEE 1394 chip (NEC uPD72874)
>Confidential: no
>Severity: non-critical
>Priority: medium
>Responsible: freebsd-bugs
>State: open
>Quarter:
>Keywords:
>Date-Required:
>Class: change-request
>Submitter-Id: current-users
>Arrival-Date: Wed Apr 23 23:00:32 PDT 2003
>Closed-Date:
>Last-Modified:
>Originator: Tetsuya Ryuchi
>Release: FreeBSD 4.8-RELEASE i386
>Organization:
Japan UNIX Society
CBUG
>Environment:
System: FreeBSD 4.8-RELEASE i386
machine PC/AT i386 (PentiumIII 500MHz)
installed IEEE 1394 (NEC uPD72874 chip)
PCI Card: REX-PFW4H (RATOC Systems, Inc.)
>Description:
Probe message is not report chip name when boot.
>How-To-Repeat:
boot FreeBSD on PC/AT with REX-PFW4H (PCI IEEE 1394 card)
>Fix:
apply this patch to dev/firewire/fwochireg.h and fwochi_pci.c
-------- cut here ------------------------------------------------
--- dev/firewire/fwohcireg.h.orig Mon Feb 24 16:31:28 2003
+++ dev/firewire/fwohcireg.h Thu Apr 24 13:47:40 2003
@@ -45,6 +45,7 @@
#define FW_DEVICE_UPD861 (0x0063 << 16)
#define FW_DEVICE_UPD871 (0x00ce << 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)
--- dev/firewire/fwohci_pci.c.orig Tue Mar 25 19:48:38 2003
+++ dev/firewire/fwohci_pci.c Thu Apr 24 13:47:40 2003
@@ -74,6 +74,10 @@
device_set_desc(dev, "NEC uPD72871/2");
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;
-------- cut here ------------------------------------------------
>Release-Note:
>Audit-Trail:
>Unformatted:
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200304240552.h3O5qNeA024174>
