#include <linux/kernel.h>
#include <linux/module.h>
#include <linux/pci.h>
#include <linux/ioport.h>
#include <linux/init.h>
#include <linux/i2c.h>
#include <linux/i2c-algo-bit.h>
#include <linux/io.h>
Go to the source code of this file.
#define I2C_DIR (pm_io_base+0x40) |
#define I2C_IN (pm_io_base+0x44) |
#define I2C_OUT (pm_io_base+0x42) |
#define I2C_SCL 0x02 /* clock bit in DIR/OUT/IN register */ |
#define PM_CFG_IOBASE0 0x20 |
#define PM_CFG_IOBASE1 0x48 |
#define PM_CFG_REVID 0x08 /* silicon revision code */ |
MODULE_DESCRIPTION |
( |
"i2c for Via vt82c586b southbridge" |
| ) |
|
MODULE_DEVICE_TABLE |
( |
pci |
, |
|
|
vt586b_ids |
|
|
) |
| |
module_pci_driver |
( |
vt586b_driver |
| ) |
|