cvs commit: src/sys/boot/ofw/libofw ofw_disk.c

Marius Strobl marius at FreeBSD.org
Tue Oct 25 05:51:50 PDT 2005


marius      2005-10-25 12:51:49 UTC

  FreeBSD src repository

  Modified files:
    sys/boot/ofw/libofw  ofw_disk.c 
  Log:
  - Add a workaround for the fact that OFW doesn't guarantee that
    devices can be opened multiple times simultaneously but we're
    expected to be able to do so by the rest of the loader.
    This fixes booting from disks attached to the on-board SCSI
    controller of Sun Ultra 1 (previously this triggered a trap)
    and probably also of AX1115 boards.
  - While here, remove unused variables and add empty lines where
    style(9) requires such.
  
  Tested on:      powerpc (grehan), sparc64
  MFC after:      1 month
  
  Revision  Changes    Path
  1.13      +57 -6     src/sys/boot/ofw/libofw/ofw_disk.c


More information about the cvs-all mailing list