[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: G4/800 Dual (20011220 and MP)
> 千葉市中央区長洲
> 藤原 誠
何だか xf86PCIVendorInfoData[] の中身がこわれているような感じ
です。次がどうなっているか表示するようにしたら...
(II) (0)Vendorname(NVidia) info->vendor(10de)
(II) (1) VendorID(003d)
(II) (2) VendorID(003d) i(0) (II) (3) next (0e11) (II) (4) ++ (1000)
(II) (2) VendorID(0e11) i(1) (II) (3) next (1000) (II) (4) ++ (1002)
(II) (2) VendorID(1000) i(2) (II) (3) next (1002) (II) (4) ++ (524c)
(II) (2) VendorID(1002) i(3) (II) (3) next (524c) (II) (4) ++ (0000)
(II) (2) VendorID(524c) i(4) (II) (3) next (0000) (II) (4) ++ (0000)
(--) PCI: (0:16:0) NVidia unknown chipset (0x0110) rev 178, Mem @ 0x91000000/24, 0x98000000/27
---
(藤原)
--- xf86pciBus.c.orig Wed Jun 21 10:23:12 2000
+++ xf86pciBus.c Mon Feb 25 14:11:03 2002
@@ -320,15 +320,22 @@
i = 0;
info = xf86PciVideoInfo[k];
while (xf86PCIVendorNameInfo[i].token) {
- if (xf86PCIVendorNameInfo[i].token == info->vendor)
+ if (xf86PCIVendorNameInfo[i].token == info->vendor) {
vendorname = (char *)xf86PCIVendorNameInfo[i].name;
+ xf86MsgVerb(X_INFO, 3, "(0)Vendorname(%s) info->vendor(%04x)\n",vendorname,info->vendor); }
i++;
}
i = 0;
+ xf86MsgVerb(X_INFO, 3, "(1) VendorID(%04x)\n", xf86PCIVendorInfo[i].VendorID);
while(xf86PCIVendorInfo[i].VendorID) {
+ xf86MsgVerb(X_INFO, 3, "(2) VendorID(%04x) i(%d) ", xf86PCIVendorInfo[i].VendorID,i);
+ xf86MsgVerb(X_INFO, 3, "(3) next (%04x) ", xf86PCIVendorInfo[i+1].VendorID);
+ xf86MsgVerb(X_INFO, 3, "(4) ++ (%04x) \n", xf86PCIVendorInfo[i+2].VendorID);
if (xf86PCIVendorInfo[i].VendorID == info->vendor) {
j = 0;
while (xf86PCIVendorInfo[i].Device[j].DeviceName) {
+ xf86MsgVerb(X_INFO, 3, "(5) i(%d) j(%d) DeviceID(%04x) DeviceName(%s)\n",i,j,
+ xf86PCIVendorInfo[i].Device[j].DeviceID,xf86PCIVendorInfo[i].Device[j].DeviceName);
if (xf86PCIVendorInfo[i].Device[j].DeviceID ==
info->chipType) {
chipname =