[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: iBook



In message ``Re: iBook''
	Wed Jan 12 00:18:30 JST 2000,
	kei_sun@ba2.so-net.ne.jp (SUNAGAWA Keiki) writes:

> Tsubai> ソースから読むかぎりでは dev/func/reg のシフト量が 
> Tsubai> bandit と同じだし、アドレスも同じみたいですからね。
> bandit.cのpci106のところを潰してもう一度試してみましたが、や
> はりbanditと同じでした>坂本さん
 
とゆうことなんで,古いコードで(1.4L 19991023)ですが

--(ここから)--
--- bandit.c.orig	Tue Jun 29 09:02:49 1999
+++ bandit.c	Wed Jan 12 09:59:30 2000
@@ -155,11 +155,14 @@
 		if (OF_getprop(node, "name", name, sizeof(name)) <= 0)
 			continue;
 
+#if 0
 		is_bandit = (strcmp(name, "bandit") == 0 ||
 			     strcmp(name, "chaos") == 0) ? 1 : 0;
 
 		/* XXX for now */
 		is_mpc106 = (strcmp(name, "pci") == 0) ? 1 : 0;
+#endif
+		is_bandit = 1;
 
 		if (is_bandit == 0 && is_mpc106 == 0)
 			continue;
--(ここまで)--

とかいーかげんなことをして作った GENERIC を
iMac DV で実行してみた結果です.例によって書き写しです.

# serial console 使いたいよう.

--
Y. Takizawa	(滝沢陽三)
you@nightbreak.org, takizawa@computer.org
``Don't feel as if the key to successful computing is only in your hands.''


--(ここから)--
...
NetBSD 1.4L (GENERIC) #4: Wed Jan 12 09:41:19 JST 2000
    takizawa@B20:/usr/src/sys/arch/macppc/compile/GENERIC
CPU: 750 (Revision 8300)
total memory = 65536 KB
avail memory = 54932 KB
using 844 buffers containing 3376 KB of memory
mainbus0 (root)
cpu0 at mainbus0: 512KB backside cache enabled
pci0 at mainbus0 bus 0
pci0: i/o enabled, memory enabled
Apple Computer product 0x0020 (host bridge) at pci0 dev 11 function 0 not configured
ofb0 at pci0 dev 16 function 0: ATI Technologies product 0x524c
ofb0: 1024 x 768, 8bpp
wsdisplay0 at ofb0: console (std, vt100 emulation)
pci1 at mainbus0 bus 0
pci1: i/o enabled, memory enabled
Apple Computer product 0x001f (host bridge) at pci1 dev 11 function 0 not configured
Texas Instruments product 0x8019 (Firewire serial bus, interface 0x10) at pci1 dev 18 function 0 not configured
Apple Computer product 0x0022 (undefined subclass 0x00, revision 0x02) at pci1 dev 23 function 0 not configured
ohci0 at pci1 dev 24 function 0: Apple Computer product 0x0019 (rev. 0x00)
pci_intr_map: no mapping for pin D
ohci0: couldn't map interrupt
ohci1 at pci1 dev 25 function 0: Apple Computer product 0x0019 (rev. 0x00)
pci_intr_map: no mapping for pin D
ohci1: couldn't map interrupt
boot device: <unknoun>
root device:
--(ここから)--