On Mon, Jun 27, 2011 at 03:22:13PM -0400, Kenneth R Westerback wrote: > On Mon, Jun 27, 2011 at 12:01:51PM -0700, Matthew Dempsky wrote: > > The diff below adds some very common disk driver logic into > > subr_disk.c and refactors most of the MI disk drivers to take > > advantage of them. I'll followup with the MD disk drivers later (a > > lot of them need other cleanups anyway). > > > > There should be no behavioral change. The only part of the diff that > > might not be intuitive is in cd.c and sd.c, the 'out' label is > > effectively moved to before the partition validity check, but that's > > okay because 'goto out' is only run when opening the raw partition > > (which is still unconditionally allowed by disk_openpart()). > > > > ok? > > > > Reads nice on first pass. I'll toss it on my boxes and see what > falls off. Just not sure if I have wd anywhere anymore ... > > .... Ken >
sd(4)/cd(4) working fine via ahci on my amd64 box. wd(4) working fine on my macppc. ok krw@ .... Ken