Diff for /src/sys/dev/netif/ed/if_ed_pci.c between versions 1.5 and 1.6

version 1.5, 2003/11/20 22:07:27 version 1.6, 2004/02/13 21:15:12
Line 17 Line 17
  * 4. Modifications may be freely made to this file if the above conditions   * 4. Modifications may be freely made to this file if the above conditions
  *    are met.   *    are met.
  *   *
 * $FreeBSD: src/sys/dev/ed/if_ed_pci.c,v 1.23.2.1 2000/09/10 08:45:11 nyan Exp $ * $FreeBSD: src/sys/dev/ed/if_ed_pci.c,v 1.34 2003/10/31 18:31:58 brooks Exp $
  * $DragonFly$   * $DragonFly$
  */   */
   
Line 102  ed_pci_attach(device_t dev) Line 102  ed_pci_attach(device_t dev)
                 return (error);                  return (error);
         }          }
   
        error = ed_attach(sc, device_get_unit(dev), flags);        error = ed_attach(dev);
   
         return (error);          return (error);
 }  }
Line 123  static driver_t ed_pci_driver = { Line 123  static driver_t ed_pci_driver = {
   
 static devclass_t ed_devclass;  static devclass_t ed_devclass;
   
DRIVER_MODULE(if_ed, pci, ed_pci_driver, ed_devclass, 0, 0);DRIVER_MODULE(ed, pci, ed_pci_driver, ed_devclass, 0, 0);
 MODULE_DEPEND(ed, pci, 1, 1, 1);
 MODULE_DEPEND(ed, ether, 1, 1, 1);

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