On Sat, Mar 17, 2007 at 03:33:30PM -0700, Marco S Hyman wrote:
>  >   i don't think you can modify attachments with config(8), but
> 
> You can.  Or you can build a custom kernel.   My box finds my SATA
> drive before my ATA drive though I use the ATA drive as wd0.   My
> kernel config has:
> 
> wd1   at pciide? flags 0x0000
> wd0   at pciide? flags 0x0000
> wd*   at pciide? flags 0x0000

  nod; but that's not modifying the *attachments*.  in OP's
  dmesg, he shows pciide0 and pciide1:

OP:
> wd0 at pciide0 channel 3 drive 0: <Maxtor 7L300S0>
> wd1 at pciide1 channel 0 drive 0: <SanDisk SDCFB-1024>

  moving wd1 infront of wd0 does indeed work for the situation
  you mention; but that's just a side effect of the machine
  then being told to always call the first drive it finds on
  pciide? to be 'wd1'.

  i don't know if it would work at all in OP's case because
  the fact that the soekris is calling his CMD controller
  'pciide0' and the natsemi 'pciide1' when the PCI card is in,
  but the natsemi is 'pciide0' when the PCI is not in.

  it would seem that he may need to go back all the way
  to pciide? at pci? if he wants to make it so that 
  things do the Right Thing if the pciide PCI card is removed
  at any point.

  that's the tree i was barking up.

  if that's no a concern, then yeah, just flip crap around
  in config(8)

-- 

  jared

Reply via email to