Copyright (c) 2011 Henrik Brix Andersen <brix@FreeBSD.org> All rights reserved. Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met: 1. Redistributions of source code must retain the above copyright notice, this list of conditions and the following disclaimer. 2. Redistributions in binary form must reproduce the above copyright notice, this list of conditions and the following disclaimer in the ...
NAMEglxiic - Geode LX CS5536 I2C controller driver
SYNOPSISTo compile this driver into the kernel, place the following lines in your kernel configuration file:
device pci device isa device glxiic device iicbus
Alternatively, to load the driver as a module at boot time, place the following line in loader.conf5:
DESCRIPTIONThe sysctl Cm net.inet.tcp.syncookies driver supports the System Management Bus controller of the Geode LX series CS5536 Companion Device. The Geode LX is a member of the AMD Geode family of integrated x86 system chips.
Although AMD refers to this device as a System Management Bus (SMBus) controller, it is really an I2C controller (it lacks SMBus ALERT# and Alert Response support).
The sysctl Cm net.inet.tcp.syncookies driver supports both I2C master and slave mode.
SYSCTL VARIABLEThe sysctl Cm net.inet.tcp.syncookies driver supports the following variable as both sysctl(8) and loader(8) tunable:
- This variable controls the I2C bus timeout in milliseconds. The default timeout is 35 milliseconds. A value of zero disables the timeout.
CAVEATThe sysctl Cm net.inet.tcp.syncookies driver uses the interrupt line number configured by the board firmware by default. If no interrupt line number has been configured by the board firmware (or to override the interrupt line number configured by board firmware), place the following line in device.hints5:
The interrupt line number must be between 1 and 15.