summaryrefslogtreecommitdiffstats
path: root/sys/dev/smbus/smbus.c
Commit message (Collapse)AuthorAgeFilesLines
* Driver for the Intel 82801AA (ICH) SMBus controller and compatibles.archie2000-10-061-0/+1
| | | | Obtained from: Whistle source tree
* Remove the 'ivars' arguement to device_add_child() andmdodd1999-12-031-2/+2
| | | | | | | | | | | | | | | | device_add_child_ordered(). 'ivars' may now be set using the device_set_ivars() function. This makes it easier for us to change how arbitrary data structures are associated with a device_t. Eventually we won't be modifying device_t to add additional pointers for ivars, softc data etc. Despite my best efforts I've probably forgotten something so let me know if this breaks anything. I've been running with this change for months and its been quite involved actually isolating all the changes from the rest of the local changes in my tree. Reviewed by: peter, dfr
* $Id$ -> $FreeBSD$peter1999-08-281-1/+1
|
* Alter the behavior of sys/kern/subr_bus.c:device_print_child()mdodd1999-07-291-12/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | - device_print_child() either lets the BUS_PRINT_CHILD method produce the entire device announcement message or it prints "foo0: not found\n" Alter sys/kern/subr_bus.c:bus_generic_print_child() to take on the previous behavior of device_print_child() (printing the "foo0: <FooDevice 1.1>" bit of the announce message.) Provide bus_print_child_header() and bus_print_child_footer() to actually print the output for bus_generic_print_child(). These functions should be used whenever possible (unless you can just use bus_generic_print_child()) The BUS_PRINT_CHILD method now returns int instead of void. Modify everything else that defines or uses a BUS_PRINT_CHILD method to comply with the above changes. - Devices are 'on' a bus, not 'at' it. - If a custom BUS_PRINT_CHILD method does the same thing as bus_generic_print_child(), use bus_generic_print_child() - Use device_get_nameunit() instead of both device_get_name() and device_get_unit() - All BUS_PRINT_CHILD methods return the number of characters output. Reviewed by: dfr, peter
* Move the declaration of the interrupt type from the driver structuredfr1999-05-081-2/+1
| | | | to the BUS_SETUP_INTR call.
* Fix smbus allocation and add the alsmb (see alpm(4)) driver.nsouch1999-02-131-2/+2
|
* Change /dev/smb and /dev/iic interface to allow user programs to interact withnsouch1999-01-091-1/+2
| | | | | | | | | | devices dynamically. That means, + only one /dev/iic or /dev/smb device for each smb/iic bus to access + I2C/SMB device address must be given to any ioctl + new devices may be plugged and accessed after boot, which was impossible previously (device addresses were hardcoded into the kernel)
* Rename smbtx to intsmb (IntelSMB interface), the future PIIX4 SMBusnsouch1998-12-281-22/+21
| | | | interface driver.
* Eliminate compiler warning.archie1998-12-101-2/+2
|
* The "easy" fixes for compiling the kernel -Wunused: remove unreferenced staticarchie1998-12-071-4/+4
| | | | and local variables, goto labels, and functions declared but not defined.
* Remove broken and useless intr interface.nsouch1998-11-221-3/+1
| | | | | | | Submitted by: Doug Rabson <dfr@nlsystems.com> Amancio Hasty <hasty@rah.star-gate.com> Avoid compile warnings.
* New callback mechanism to allow iicbus bus allocation when requestingnsouch1998-10-311-13/+20
| | | | smbus over iicsmb(4).
* Submitted by: nsouchnsouch1998-09-031-0/+157
System Management Bus generic support over new bus architecture.
OpenPOWER on IntegriCloud