cvs commit: src/sys/dev/ichsmb ichsmb.c ichsmb_pci.c src/sys/pci alpm.c amdpm.c amdsmb.c intpm.c intpmreg.h nfsmb.c viapm.c

John Baldwin jhb at FreeBSD.org
Thu Jan 11 19:56:25 UTC 2007


jhb         2007-01-11 19:56:24 UTC

  FreeBSD src repository

  Modified files:
    sys/dev/ichsmb       ichsmb.c ichsmb_pci.c 
    sys/pci              alpm.c amdpm.c amdsmb.c intpm.c 
                         intpmreg.h nfsmb.c viapm.c 
  Log:
  Various updates to most of the smbus(4) drivers:
  - Use printf() and device_printf() instead of log() in ichsmb(4).
  - Create the mutex sooner during ichsmb(4) attach.
  - Attach the interrupt handler later during ichsmb(4) attach to avoid
    races.
  - Don't try to set PCIM_CMD_PORTEN in ichsmb(4) attach as the PCI bus
    driver does this already.
  - Add locking to alpm(4), amdpm(4), amdsmb(4), intsmb(4), nfsmb(4), and
    viapm(4).
  - Axe ALPM_SMBIO_BASE_ADDR, it's not really safe to write arbitrary values
    into BARs, and the PCI bus layer will allocate resources now if needed.
  - Merge intpm(4) and intsmb(4) into just intsmb(4).  Previously, intpm(4)
    attached to the PCI device and created an intsmb(4) child.  Now,
    intsmb(4) just attaches to PCI directly.
  - Change several intsmb functions to take a softc instead of a device_t
    to make things simpler.
  
  Revision  Changes    Path
  1.17      +29 -21    src/sys/dev/ichsmb/ichsmb.c
  1.18      +6 -24     src/sys/dev/ichsmb/ichsmb_pci.c
  1.26      +71 -43    src/sys/pci/alpm.c
  1.21      +69 -15    src/sys/pci/amdpm.c
  1.4       +40 -7     src/sys/pci/amdsmb.c
  1.36      +418 -430  src/sys/pci/intpm.c
  1.4       +1 -1      src/sys/pci/intpmreg.h
  1.6       +48 -9     src/sys/pci/nfsmb.c
  1.17      +83 -28    src/sys/pci/viapm.c


More information about the cvs-src mailing list