Diff for /src/sys/dev/netif/ed/if_ed_isa.c between versions 1.6 and 1.7

version 1.6, 2004/02/08 06:47:35 version 1.7, 2004/02/13 21:15:12
Line 24 Line 24
  * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF   * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
  * SUCH DAMAGE.   * SUCH DAMAGE.
  *   *
 * $FreeBSD: src/sys/dev/ed/if_ed_isa.c,v 1.5.2.4 2003/12/24 17:02:00 shiba Exp $ * $FreeBSD: src/sys/dev/ed/if_ed_isa.c,v 1.15 2003/10/31 18:31:58 brooks Exp $
  * $DragonFly$   * $DragonFly$
  */   */
   
Line 43 Line 43
 #include <net/if_mib.h>  #include <net/if_mib.h>
   
 #include <bus/isa/isavar.h>  #include <bus/isa/isavar.h>
 #include <bus/isa/pnpvar.h>  
   
 #include "if_edvar.h"  #include "if_edvar.h"
   
Line 126  ed_isa_attach(dev) Line 125  ed_isa_attach(dev)
         device_t dev;          device_t dev;
 {  {
         struct ed_softc *sc = device_get_softc(dev);          struct ed_softc *sc = device_get_softc(dev);
         int flags = device_get_flags(dev);  
         int error;          int error;
                   
         if (sc->port_used > 0)          if (sc->port_used > 0)
Line 143  ed_isa_attach(dev) Line 141  ed_isa_attach(dev)
                 return (error);                  return (error);
         }          }
   
        return ed_attach(sc, device_get_unit(dev), flags);        return ed_attach(dev);
 }  }
   
 static device_method_t ed_isa_methods[] = {  static device_method_t ed_isa_methods[] = {
Line 160  static driver_t ed_isa_driver = { Line 158  static driver_t ed_isa_driver = {
         sizeof(struct ed_softc)          sizeof(struct ed_softc)
 };  };
   
static devclass_t ed_isa_devclass;DRIVER_MODULE(if_ed, isa, ed_isa_driver, ed_devclass, 0, 0);
MODULE_DEPEND(if_ed, isa, 1, 1, 1);
DRIVER_MODULE(if_ed, isa, ed_isa_driver, ed_isa_devclass, 0, 0);MODULE_DEPEND(if_ed, ether, 1, 1, 1);

Removed from v.1.6  
changed lines
  Added in v.1.7