Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 11 May 2002 14:30:46 -0700 (PDT)
From:      Jake Burkholder <jake@FreeBSD.org>
To:        cvs-committers@FreeBSD.org, cvs-all@FreeBSD.org
Subject:   cvs commit: src/sys/boot/ofw/libofw devicename.c libofw.h ofw_disk.c
Message-ID:  <200205112130.g4BLUkj46221@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help
jake        2002/05/11 14:30:46 PDT

  Modified files:
    sys/boot/ofw/libofw  devicename.c libofw.h ofw_disk.c 
  Log:
  Change the disk probing so that it will actually find disks other
  than the first one on a controller, and work for secondary
  controllers.
  Due to the prom not having nodes for each disk, but a catch-all one,
  we have to iterate over each device, trying to open it to determine
  whether it is actually present.
  Since probing this way takese some time (and spews some spurious
  warnings), it should maybe be short-circuited if we use the
  device we were booted from.
  Implement lazy device probing, and correct slice/partiniton
  handling in the ofwd_open() code. With this, I can now actually boot
  a kernel from disk, and the loader does not create unnecessary
  delays.
  
  Submitted by:   tmm
  
  Revision  Changes    Path
  1.10      +12 -6     src/sys/boot/ofw/libofw/devicename.c
  1.6       +1 -1      src/sys/boot/ofw/libofw/libofw.h
  1.6       +123 -35   src/sys/boot/ofw/libofw/ofw_disk.c

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe cvs-all" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200205112130.g4BLUkj46221>