diff options
author | peter <peter@FreeBSD.org> | 1999-09-08 13:46:54 +0000 |
---|---|---|
committer | peter <peter@FreeBSD.org> | 1999-09-08 13:46:54 +0000 |
commit | 1ac919681f03999e949d29db10f0fedf1d400305 (patch) | |
tree | 1927f46d191a5a90d1fff3b1b7526329509829ea /sys/dev | |
parent | 3f39c0c765fc26ab5360021ecf84d9ecfcb27d14 (diff) | |
download | FreeBSD-src-1ac919681f03999e949d29db10f0fedf1d400305.zip FreeBSD-src-1ac919681f03999e949d29db10f0fedf1d400305.tar.gz |
Make it build, copy from dev/sio/sio.c:
isa_set_flags -> device_set_flags
isa_get_flags -> device_get_flags
Diffstat (limited to 'sys/dev')
-rw-r--r-- | sys/dev/sio/sio.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/sys/dev/sio/sio.c b/sys/dev/sio/sio.c index 012920d..0e9dcad 100644 --- a/sys/dev/sio/sio.c +++ b/sys/dev/sio/sio.c @@ -564,8 +564,8 @@ card_intr(struct pccard_devinfo *devi) } #endif /* NCARD > 0 */ -#define SET_FLAG(dev, bit) isa_set_flags(dev, isa_get_flags(dev) | (bit)) -#define CLR_FLAG(dev, bit) isa_set_flags(dev, isa_get_flags(dev) & ~(bit)) +#define SET_FLAG(dev, bit) device_set_flags(dev, device_get_flags(dev) | (bit)) +#define CLR_FLAG(dev, bit) device_set_flags(dev, device_get_flags(dev) & ~(bit)) static struct isa_pnp_id sio_ids[] = { {0x0005d041, "Standard PC COM port"}, /* PNP0500 */ @@ -591,7 +591,7 @@ sioprobe(dev) u_char mcr_image; int result; device_t xdev; - u_int flags = isa_get_flags(dev); + u_int flags = device_get_flags(dev); int rid; struct resource *port; @@ -912,7 +912,7 @@ sioattach(dev) Port_t iobase; int unit; void *ih; - u_int flags = isa_get_flags(dev); + u_int flags = device_get_flags(dev); int rid; struct resource *port; |