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

Re: nic initialization



Nick Holland wrote:
  > Well, rather than DISABLING PCIBIOS, how about tweaking it?
> 
> Give it flags, instead:
> 
> fbld.in.nickh.org
> / # config -ef /bsd
> OpenBSD 3.4-current (GENERIC) #12: Mon Feb  2 18:48:59 EST 2004
>     root@fbld.in.nickh.org:/usr/src/sys/arch/i386/compile/GENERIC
> Enter 'help' for information
> ukc> change pcibios
> 229 pcibios0 at bios0 flags 0x0
> change [n] y
> flags [0] ? 2
> 229 pcibios0 changed
> 229 pcibios0 at bios0 flags 0x2
> ukc> quit
> Saving modified kernel.
> fbld.in.nickh.org
> / #
> 
> "2" is a value I need to get a laptop of mine to boot in its docking
> station.   Looking at the man page, it may help you, too, though I
> recall in the past trying to figure out what flag fixes your
> particular problem with PCIBIOS isn't trivial, so if 2 doesn't work,
> try them all. 8)  (there are only 6: 0x1, 0x2, 0x4, 0x8, 0x10, 0x20. 
> In theory, you could need a combination (i.e., 0x5 = 0x1 + 0x4). Yes,
> you may have to play a bit.).
> 
I tried from 0,1,2... up to 15 but no joy...
What are these flags? Where are they documented?