Subject: CVS commit: src/sys/arch/powerpc/oea
To: None <source-changes@NetBSD.org>
From: matthew green <mrg@netbsd.org>
List: source-changes
Date: 01/11/2008 05:11:35
Module Name:	src
Committed By:	mrg
Date:		Fri Jan 11 05:11:34 UTC 2008

Modified Files:
	src/sys/arch/powerpc/oea: ofw_autoconf.c

Log Message:
several changes to make boot device work for disks, at least
on my pegasos:

- don't chop off the 2nd part of the OFW address, it makes it
  match pcib (ISA bridge - dev 12 fn 0) instead of viaide (dev 12
  fn 1).
- now that it's available, provide an "addr2" that has the
  second address present.
- for pci devices match against device and function, not just
  function.
- remove the special case and actually broken check in the
  "pciide" section, and use the now generic "addr2" and check
  against the drive and channel number if provided.
- support "viaide" and "slide" in here, as well as "pciide".
  (is there a good way to say "any ide adapter"?)


To generate a diff of this commit:
cvs rdiff -r1.6 -r1.7 src/sys/arch/powerpc/oea/ofw_autoconf.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.