cvs commit: src/sys/dev/netif/em if_em.c if_em_hw.c if_em_hw.h

David Rhodus drhodus at
Tue May 11 09:48:50 PDT 2004


linking kernel.debug
if_em_hw.o: In function `em_reset_hw':
undefined reference to `em_write_reg_io'
undefined reference to `em_write_reg_io'
*** Error code 1

On May 11, 2004, at 10:00 AM, Joerg Sonnenberger wrote:
joerg       2004/05/11 07:00:20 PDT

DragonFly src repository

  Modified files:
    sys/dev/netif/em     if_em.c if_em_hw.c if_em_hw.h
  - remove em_adapter_list, it was not used for anything beside adding  
    removing entries
  - fix const warning for em_strings
  - convert u_intXX_t to uintXX_t
  - style(9) changes for whitespace e.g. consistent use of tabs
  - use snprintf to build the adapter version string, we are embedding  
    string which could grow in size
  - remove check for device_get_softc(dev) == NULL, this must not  
  - prefer device_printf and if_printf over printf("em0d: ...",  
  - make some pointer checks explicit against NULL
  - remove some of the #ifdef FreeBSD cases which are not interesting  
for us
  - remove trailing return; in void functions
  - use the pci accessor functions for the subsystem id and vendor
  - start using bus_alloc_resource_any
  - remove em_read_reg_io, em_write_reg_io, em_io_read and em_io_write,
    those are unused and doesn't fit into our newbus scheme.

  Revision  Changes    Path
  1.13      +738 -916  src/sys/dev/netif/em/if_em.c
  1.6       +0 -38     src/sys/dev/netif/em/if_em_hw.c
  1.6       +0 -5      src/sys/dev/netif/em/if_em_hw.h 

More information about the Commits mailing list