DragonFly BSD
DragonFly commits List (threaded) for 2005-07
[Date Prev][Date Next]  [Thread Prev][Thread Next]  [Date Index][Thread Index]

cvs commit: src/sys/dev/netif/an if_an.c if_an_isa.c if_an_pccard.c if_an_pci.c

From: Joerg Sonnenberger <joerg@xxxxxxxxxxxxxxxxxxxxxxx>
Date: Thu, 28 Jul 2005 09:33:25 -0700 (PDT)

joerg       2005/07/28 09:33:25 PDT

DragonFly src repository

  Modified files:
    sys/dev/netif/an     if_an.c if_an_isa.c if_an_pccard.c 
  Remove unnecessary initialisations. Return ENXIO instead of 1 in
  an_pccard_probe. Separate error path and normal normal return in
  ac_pccard_attach. GC AN_PCI_PLX_LOIO. Don't mess with PCI controll
  register, it's already down by the PCI layer.
  Submitted-by: Sepherosa Ziehau <sepherosa@xxxxxxxxx>
  In addition, reverse the return value of an_probe. It doesn't make sense
  to return 0 on failure, if the callee are interested only in the error,
  not the success code.
  Revision  Changes    Path
  1.28      +7 -7      src/sys/dev/netif/an/if_an.c
  1.12      +5 -5      src/sys/dev/netif/an/if_an_isa.c
  1.12      +7 -9      src/sys/dev/netif/an/if_an_pccard.c
  1.15      +1 -16     src/sys/dev/netif/an/if_an_pci.c


[Date Prev][Date Next]  [Thread Prev][Thread Next]  [Date Index][Thread Index]