cvs commit: src/sys/dev/lnc if_lnc_pci.c

John Baldwin jhb at FreeBSD.org
Thu Jan 22 08:07:05 PST 2004


jhb         2004/01/22 08:07:03 PST

  FreeBSD src repository

  Modified files:
    sys/dev/lnc          if_lnc_pci.c 
  Log:
  Fix the PCI attach routine to properly setup the IRQ and port resource
  rid's and to deallocate resources if a failure occurs during attach.  This
  patch also fixes the driver to return failure if bus_alloc_resource() for
  the IRQ fails rather than panic'ing on the next line by passing a NULL
  resource to bus_setup_intr().  The other attachments already do all this.
  
  Submitted by:   Jun Su <csujun at 263.net>
  
  Revision  Changes    Path
  1.32      +20 -13    src/sys/dev/lnc/if_lnc_pci.c


More information about the cvs-all mailing list