From: Peter Wemm <pe...@netplex.com.au> Subject: Re: cvs commit: src/sys/pci pcisupport.c Date: Thu, 13 May 1999 06:24:12 +0800 Message-ID: <19990512222414.e2dda1...@spinner.netplex.com.au>
peter> What on earth is the locator stuff for? Why can't you use plain text? peter> How does 'iobase 0x280' become '640,0,0,0,9,-1,-1,0,1,0'?? This should be changed in the future. I would say for this point "Yes, there are weaknesses still, but that is because it isn't quite finished and is evolving still." I don't think it impossible to make it work dconfig load "ne4 at isa0 iobase 0x280 irq 9" dconfig unload ne4 We have just made it work, before making it look cool. peter> I prefer just: peter> device pcic0 at isa? port 0x3e0 peter> device pcic1 at isa? port 0x3e2 peter> in a static kernel config file, or: peter> pcic0 port 0x3e0 peter> pcic1 port 0x3e2 peter> in /boot/isa.conf. Or: peter> # sethint pcic0 at isa port 0x3e0 peter> # sethint pcic1 at isa port 0x3e2 peter> # kldload pcic.ko peter> .. to load pcic to look at isapnp, pci and those two isa ports. or: peter> # kldload pcic.ko peter> .. to load pcic and look at pci and isapnp if present. peter> peter> If the driver writer decides there is a significant amount of code in peter> bus dependent modules that it is worth splitting pcic.ko itno pcic_isa.ko, peter> pcic_pci.ko, pcic_pnp.ko and pcic_common.ko, then this works best: peter> # kldload pcic_pci.ko peter> .. to load the pci and common parts, and cause a reprobe. Yes, it does seem cool. But don't you think it even better to simply tell the system that I want pcic on pci not knowing the filename (whether it was split into three files, or just one file)? # dconfig load pcic? at pci? -------- Tomoaki Nishiyama e-mail:tomo...@biol.s.u-tokyo.ac.jp Department of Biological Sciences, Graduate School of Science, The University of Tokyo To Unsubscribe: send mail to majord...@freebsd.org with "unsubscribe freebsd-current" in the body of the message