diff options
author | Per Fogelstrom <pefo@cvs.openbsd.org> | 2004-10-20 12:40:15 +0000 |
---|---|---|
committer | Per Fogelstrom <pefo@cvs.openbsd.org> | 2004-10-20 12:40:15 +0000 |
commit | 739696eb39583689f2b47fac0c0acbe5dd9958b3 (patch) | |
tree | 11d485a65a4a0172406e45aee53eb11adaa49bf0 /sys/dev/ic/comvar.h | |
parent | e16906c17fcc943203ec7784b619a5ec2345e640 (diff) |
Use bus_addr_t instead of int for port address/offset, ok mickey
Diffstat (limited to 'sys/dev/ic/comvar.h')
-rw-r--r-- | sys/dev/ic/comvar.h | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/sys/dev/ic/comvar.h b/sys/dev/ic/comvar.h index fa1e2e34b19..10f3a6dda85 100644 --- a/sys/dev/ic/comvar.h +++ b/sys/dev/ic/comvar.h @@ -1,4 +1,4 @@ -/* $OpenBSD: comvar.h,v 1.34 2003/09/23 16:51:12 millert Exp $ */ +/* $OpenBSD: comvar.h,v 1.35 2004/10/20 12:40:14 pefo Exp $ */ /* $NetBSD: comvar.h,v 1.5 1996/05/05 19:50:47 christos Exp $ */ /* @@ -88,7 +88,7 @@ struct com_softc { int sc_halt; - int sc_iobase; + bus_addr_t sc_iobase; int sc_frequency; bus_space_handle_t sc_ioh; @@ -147,7 +147,7 @@ void comstart(struct tty *); void comsoft(void *); struct consdev; -int comcnattach(bus_space_tag_t, int, int, int, tcflag_t); +int comcnattach(bus_space_tag_t, bus_addr_t, int, int, tcflag_t); void comcnprobe(struct consdev *); void comcninit(struct consdev *); int comcngetc(dev_t); @@ -165,7 +165,7 @@ int kgdbintr(void *); void com_attach_subr(struct com_softc *); extern int comdefaultrate; -extern int comconsaddr; +extern bus_addr_t comconsaddr; extern int comconsinit; extern int comconsattached; extern bus_space_tag_t comconsiot; |