Last-Modified: Thursday, 24 April 2003 17:21:02 +0900 (JST)

24 April of 2003



・IEEE1394
とりあえず、FreeBSD 4.8-RELEASE上で NEC μPD72874 を表示するだけのパッチを作ってみる。
ただ、このチップを知らなかっただけなので、チップのIDを ソースに追加するだけという、 非常に単純なもの。

--- 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;
ついでに、send-pr(1) をしておく。

・IEEE1394
あっという間に 取り込まれてしまった 様子。