cvs commit: src/sys/pci if_sis.c if_sisreg.h

John Baldwin jhb at FreeBSD.org
Mon Sep 26 11:42:28 PDT 2005


jhb         2005-09-26 18:42:27 UTC

  FreeBSD src repository

  Modified files:
    sys/pci              if_sis.c if_sisreg.h 
  Log:
  Small fixes to sis(4):
  - Remove sis_unit and use device_printf() and if_printf() instead.
  - Use callout_init_mtx() for the callout.
  - Remove spls.
  - Fix locking for ifmedia to happen in the ifmedia handlers rather than in
    sis_ioctl().
  - Log an error message if we fail to allocate any resources.  Perform
    cleanup if we fail to allocate any resources so that we don't leave
    a mutex hanging around.
  
  Tested by:      Jason Tsai jason dot tsai at newcyberian dot com (1-4)
  MFC after:      3 days
  
  Revision  Changes    Path
  1.139     +33 -43    src/sys/pci/if_sis.c
  1.36      +0 -1      src/sys/pci/if_sisreg.h


More information about the cvs-src mailing list