#
f8cf96db |
| 22-Nov-1998 |
Nicolas Souchu <nsouch@FreeBSD.org> |
Remove broken and useless intr interface.
Submitted by: Doug Rabson <dfr@nlsystems.com> Amancio Hasty <hasty@rah.star-gate.com>
Avoid compile warnings.
|
#
7d70baf7 |
| 08-Nov-1998 |
Nicolas Souchu <nsouch@FreeBSD.org> |
Check if devclass exists for probed devices before declaring the device 'alive'.
|
#
99a6f52d |
| 07-Nov-1998 |
Nicolas Souchu <nsouch@FreeBSD.org> |
Add iic driver iff the corresponding devclass exists.
|
#
04f89a63 |
| 31-Oct-1998 |
Nicolas Souchu <nsouch@FreeBSD.org> |
iicbb is generic support for I2C bit-banging.
Other files: timeout management added to the I2C framework.
|
#
c3e2dc6b |
| 03-Sep-1998 |
Nicolas Souchu <nsouch@FreeBSD.org> |
Submitted by: nsouch Philips I2C bus generic support other new bus architecture.
|
Revision tags: release/7.2.0_cvs, release/7.2.0 |
|
#
1829d5da |
| 12-Mar-2009 |
Warner Losh <imp@FreeBSD.org> |
Update the projects tree to a newer FreeBSD current.
|
#
b23193a5 |
| 10-Feb-2009 |
Warner Losh <imp@FreeBSD.org> |
Fix iicbus_intr, iicbus_write and device_read_ivar prototypes...
|
#
f5a78b2f |
| 20-Jan-2009 |
Nathan Whitehorn <nwhitehorn@FreeBSD.org> |
Change the probe priority for PCI and I2C generic bus modules from numerical constants to BUS_PROBE_GENERIC.
Suggested by: jhb
|
#
bad3b688 |
| 18-Jan-2009 |
Oleksandr Tymoshenko <gonzo@FreeBSD.org> |
Sync with head
|
#
3bb481ff |
| 15-Jan-2009 |
Nathan Whitehorn <nwhitehorn@FreeBSD.org> |
Import an Open Firmware I2C bus module. This attaches firmware device tree indicated I2C devices, and provides an ofw_bus interface for driver probing. This should be MI, but is currently provided on
Import an Open Firmware I2C bus module. This attaches firmware device tree indicated I2C devices, and provides an ofw_bus interface for driver probing. This should be MI, but is currently provided only on PowerPC due to lack of sparc64 hardware with an I2C controller.
Discussed on: freebsd-arch
show more ...
|
#
789c4b9d |
| 06-Jan-2009 |
Nathan Whitehorn <nwhitehorn@FreeBSD.org> |
Change the way I2C bus attachment works to allow firmware-assisted bus subclasses as are available with PCI. Changes I2C device drivers without real probe logic to return BUS_PROBE_NOWILDWARD to avoi
Change the way I2C bus attachment works to allow firmware-assisted bus subclasses as are available with PCI. Changes I2C device drivers without real probe logic to return BUS_PROBE_NOWILDWARD to avoid interference with firmware bus enumeration, and reduces the probe priority of the iicbus base driver to allow subclass attachment at higher priority.
Discussed on: freebsd-arch
show more ...
|
Revision tags: release/7.1.0_cvs, release/7.1.0, release/6.4.0_cvs, release/6.4.0 |
|
#
313f8941 |
| 04-Aug-2008 |
John Baldwin <jhb@FreeBSD.org> |
Add locking to the core iicbus(4) drivers: - Add an sx lock to the iic(4) driver to serialize open(), close(), read(), and write and to protect sc_addr and sc_count in the softc. - Use cdev->si_drv
Add locking to the core iicbus(4) drivers: - Add an sx lock to the iic(4) driver to serialize open(), close(), read(), and write and to protect sc_addr and sc_count in the softc. - Use cdev->si_drv1 instead of using the minor number of the cdev to lookup the softc via newbus in iic(4). - Store the device_t in the softc to avoid a similar detour via minor numbers in iic(4). - Only add at most one instance of iic(4) and iicsmb(4) to each iicbus(4) instance, and do it in the child driver. - Add a mutex to the iicbus(4) softc to synchronize the request/release bus stuff. - Use __BUS_ACCESSOR() for IICBUS_ACCESSOR() instead of rolling our own. - Add a mutex to the iicsmb(4) softc to protect softc state updated in the interrupt handler. - Remove Giant from all the smbus methods in iicsmb(4) now that all the iicbus(4) backend is locked.
show more ...
|
Revision tags: release/7.0.0_cvs, release/7.0.0, release/6.3.0_cvs, release/6.3.0 |
|
#
d4fa6840 |
| 24-Mar-2007 |
Warner Losh <imp@FreeBSD.org> |
MFp4: Make the iicbus fully hinted. We no longer automatically add some devices (and not others). To get instances onto the iicbus, one now needs hints or an identify routine. We also do not probe
MFp4: Make the iicbus fully hinted. We no longer automatically add some devices (and not others). To get instances onto the iicbus, one now needs hints or an identify routine. We also do not probe the bus for devices because many iic devices cannot be safely probed (and when they can, the probe order turns out to be somewhat difficult to get right).
# I'm not 100% sure that the iicsmb removal is right. Please contact me if # this causes difficulty.
show more ...
|
Revision tags: release/6.2.0_cvs, release/6.2.0 |
|
#
7ca00fac |
| 20-Nov-2006 |
Sam Leffler <sam@FreeBSD.org> |
o define transfer method o attach ds1672 and ad7418, to be cleaned up
MFC after: 1 month
|
#
d7fac973 |
| 15-Jul-2006 |
Warner Losh <imp@FreeBSD.org> |
Allow iic bridges to support a generalized transfer, rather than forcing all transfers to do the start read/write stop by hand. Some smart bridges prefer this sort of operation, and this allows us t
Allow iic bridges to support a generalized transfer, rather than forcing all transfers to do the start read/write stop by hand. Some smart bridges prefer this sort of operation, and this allows us to support their features more easily. When bridges don't support it, we fall back to using the old-style opertaions. Expand the ioctl interface to expose this function. Unlike the old-style interface, this interface is thread safe, even on old bridges.
show more ...
|
Revision tags: release/5.5.0_cvs, release/5.5.0, release/6.1.0_cvs, release/6.1.0 |
|
#
5231b1cd |
| 18-Apr-2006 |
John-Mark Gurney <jmg@FreeBSD.org> |
remove DRIVER_MODULE lines that are useless... pcf doesn't exist (only as pcf_ebus and pcf_isa, they should probably be fixed back to pcf), and bti2c doesn't exist, bktr has smbus or iicbb as childr
remove DRIVER_MODULE lines that are useless... pcf doesn't exist (only as pcf_ebus and pcf_isa, they should probably be fixed back to pcf), and bti2c doesn't exist, bktr has smbus or iicbb as children..
Brought to you by: http://people.FreeBSD.org/~jmg/driver.pdf
show more ...
|
Revision tags: release/6.0.0_cvs, release/6.0.0, release/5.4.0_cvs, release/5.4.0, release/4.11.0_cvs, release/4.11.0, release/5.3.0_cvs, release/5.3.0 |
|
#
7351b0ac |
| 27-May-2004 |
Joerg Wunsch <joerg@FreeBSD.org> |
Make "envctrl" a known master driver for iicbus.
|
Revision tags: release/4.10.0_cvs, release/4.10.0 |
|
#
c2d85eaa |
| 16-May-2004 |
Joerg Wunsch <joerg@FreeBSD.org> |
After successfully attaching an iicbus instance, instead of using a NULL name in device_add_child(), explicitly name all of our known child drivers in order to give them a chance to attach to us. Oth
After successfully attaching an iicbus instance, instead of using a NULL name in device_add_child(), explicitly name all of our known child drivers in order to give them a chance to attach to us. Otherwise, only the first one present would be probed and attached.
Reviewed by: nsouch MFC after: 1 month
show more ...
|
#
02331230 |
| 12-May-2004 |
Joerg Wunsch <joerg@FreeBSD.org> |
Convert the #if 0 magic to #if SCAN_IICBUS, and make it actually compile again. While it's not generally recommended anymore, it might still prove useful for debugging purposes.
|
Revision tags: release/5.2.1_cvs, release/5.2.1, release/5.2.0_cvs, release/5.2.0, release/4.9.0_cvs, release/4.9.0 |
|
#
aad970f1 |
| 24-Aug-2003 |
David E. O'Brien <obrien@FreeBSD.org> |
Use __FBSDID(). Also some minor style cleanups.
|
Revision tags: release/5.1.0_cvs, release/5.1.0, release/4.8.0_cvs, release/4.8.0, release/5.0.0_cvs, release/5.0.0, release/4.7.0_cvs, release/4.6.2_cvs, release/4.6.2, release/4.6.1, release/4.6.0_cvs |
|
#
c17d4340 |
| 23-Mar-2002 |
Nicolas Souchu <nsouch@FreeBSD.org> |
Major rework of the iicbus/smbus framework:
- VIA chipset SMBus controllers added - alpm driver updated - Support for dynamic modules added - bktr FreeBSD smbus updated but not tested - cleanup
|
Revision tags: release/4.5.0_cvs, release/4.4.0_cvs |
|
#
6e551fb6 |
| 10-Dec-2001 |
David E. O'Brien <obrien@FreeBSD.org> |
Update to C99, s/__FUNCTION__/__func__/, also don't use ANSI string concatenation.
|
Revision tags: release/4.3.0_cvs, release/4.3.0, release/4.2.0 |
|
#
db7e3af1 |
| 15-Oct-2000 |
Poul-Henning Kamp <phk@FreeBSD.org> |
Remove unneeded #include <machine/clock.h>
|
Revision tags: release/4.1.1_cvs, release/4.1.0, release/3.5.0_cvs, release/4.0.0_cvs, release/3.4.0_cvs |
|
#
fe0d4089 |
| 03-Dec-1999 |
Matthew N. Dodd <mdodd@FreeBSD.org> |
Remove the 'ivars' arguement to device_add_child() and 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
Remove the 'ivars' arguement to device_add_child() and 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
show more ...
|
#
7a191714 |
| 02-Nov-1999 |
Nicolas Souchu <nsouch@FreeBSD.org> |
Sync with RELENG_3.
|