jhb 2006-09-22 19:19:16 UTC FreeBSD src repository
Modified files: (Branch: RELENG_6) sys/dev/bktr bktr_i2c.c bktr_i2c.h sys/dev/ichsmb ichsmb.c sys/dev/iicbus iicsmb.c sys/dev/smbus smb.c smb.h smbconf.c smbconf.h smbus.c smbus.h smbus_if.m sys/pci alpm.c amdpm.c amdsmb.c intpm.c nfsmb.c viapm.c Log: MFC: Minor overhaul of SMBus support including: - Changing the smbus_bread() function in the smbus interface to return the actual number of bytes read. - Changing the SMB_BREAD ioctl of /dev/smbX to return the actual number of bytes read. - Attaching smb(4) to smbus(4) via an identify routine. - Adding locking to smbus(4). - Fixing the bread() and bwrite() methods of alpm(4), amdpm(4), and viapm(4) to only perform a single transaction. - Fix several buffer overflows with bread() and SMB_BREAD. Approved by: re (mux) Revision Changes Path 1.27.2.1 +3 -1 src/sys/dev/bktr/bktr_i2c.c 1.4.14.1 +1 -1 src/sys/dev/bktr/bktr_i2c.h 1.13.2.2 +21 -12 src/sys/dev/ichsmb/ichsmb.c 1.12.10.1 +7 -5 src/sys/dev/iicbus/iicsmb.c 1.34.8.2 +17 -4 src/sys/dev/smbus/smb.c 1.4.8.1 +2 -1 src/sys/dev/smbus/smb.h 1.13.10.1 +48 -44 src/sys/dev/smbus/smbconf.c 1.7.14.1 +11 -7 src/sys/dev/smbus/smbconf.h 1.18.10.3 +27 -19 src/sys/dev/smbus/smbus.c 1.2.34.2 +2 -2 src/sys/dev/smbus/smbus.h 1.7.2.1 +2 -2 src/sys/dev/smbus/smbus_if.m 1.24.2.1 +43 -48 src/sys/pci/alpm.c 1.15.2.2 +45 -50 src/sys/pci/amdpm.c 1.2.2.2 +18 -11 src/sys/pci/amdsmb.c 1.33.2.1 +17 -13 src/sys/pci/intpm.c 1.2.2.2 +18 -11 src/sys/pci/nfsmb.c 1.10.2.3 +49 -56 src/sys/pci/viapm.c _______________________________________________ cvs-all@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/cvs-all To unsubscribe, send any mail to "[EMAIL PROTECTED]"