Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 22 Jan 2004 08:07:03 -0800 (PST)
From:      John Baldwin <jhb@FreeBSD.org>
To:        src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org
Subject:   cvs commit: src/sys/dev/lnc if_lnc_pci.c
Message-ID:  <200401221607.i0MG73W3052738@repoman.freebsd.org>

next in thread | raw e-mail | index | archive | help
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@263.net>
  
  Revision  Changes    Path
  1.32      +20 -13    src/sys/dev/lnc/if_lnc_pci.c



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