K 10 svn:author V 3 jhb K 8 svn:date V 27 2006-09-22T19:19:16.000000Z K 7 svn:log V 528 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) END