diff options
| author | Nicolas Souchu <nsouch@FreeBSD.org> | 1998-11-22 22:01:42 +0000 |
|---|---|---|
| committer | Nicolas Souchu <nsouch@FreeBSD.org> | 1998-11-22 22:01:42 +0000 |
| commit | f8cf96db8f9a3e7a29ae9bce662b3ec476906ec7 (patch) | |
| tree | 48fd206f04264fdaa85eb06c8436d214c469ac77 /sys/dev/iicbus | |
| parent | c273f24b99151443a2724ae7f2b6e8cae1d82341 (diff) | |
Notes
Diffstat (limited to 'sys/dev/iicbus')
| -rw-r--r-- | sys/dev/iicbus/iicbus.c | 4 | ||||
| -rw-r--r-- | sys/dev/iicbus/iiconf.c | 4 |
2 files changed, 3 insertions, 5 deletions
diff --git a/sys/dev/iicbus/iicbus.c b/sys/dev/iicbus/iicbus.c index b5fe74222f259..35fa610cafc6b 100644 --- a/sys/dev/iicbus/iicbus.c +++ b/sys/dev/iicbus/iicbus.c @@ -23,7 +23,7 @@ * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF * SUCH DAMAGE. * - * $Id: iicbus.c,v 1.3 1998/11/07 14:33:46 nsouch Exp $ + * $Id: iicbus.c,v 1.4 1998/11/08 18:42:34 nsouch Exp $ * */ @@ -107,8 +107,6 @@ static device_method_t iicbus_methods[] = { DEVMETHOD(bus_print_child, iicbus_print_child), DEVMETHOD(bus_read_ivar, iicbus_read_ivar), DEVMETHOD(bus_write_ivar, iicbus_write_ivar), - DEVMETHOD(bus_create_intr, bus_generic_create_intr), - DEVMETHOD(bus_connect_intr, bus_generic_connect_intr), { 0, 0 } }; diff --git a/sys/dev/iicbus/iiconf.c b/sys/dev/iicbus/iiconf.c index 38e0bd9a5682c..f4056ce837ad9 100644 --- a/sys/dev/iicbus/iiconf.c +++ b/sys/dev/iicbus/iiconf.c @@ -23,7 +23,7 @@ * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF * SUCH DAMAGE. * - * $Id: iiconf.c,v 1.1.1.1 1998/09/03 20:51:50 nsouch Exp $ + * $Id: iiconf.c,v 1.2 1998/10/31 11:31:07 nsouch Exp $ * */ #include <sys/param.h> @@ -213,7 +213,7 @@ iicbus_block_read(device_t bus, u_char slave, char *buf, int len, int *read) u_char iicbus_get_addr(device_t dev) { - u_long addr; + uintptr_t addr; device_t parent = device_get_parent(dev); BUS_READ_IVAR(parent, dev, IICBUS_IVAR_ADDR, &addr); |
