summaryrefslogtreecommitdiffstats
path: root/sys/isa/sio.c
diff options
context:
space:
mode:
authorpeter <peter@FreeBSD.org>1999-09-08 13:46:54 +0000
committerpeter <peter@FreeBSD.org>1999-09-08 13:46:54 +0000
commit1ac919681f03999e949d29db10f0fedf1d400305 (patch)
tree1927f46d191a5a90d1fff3b1b7526329509829ea /sys/isa/sio.c
parent3f39c0c765fc26ab5360021ecf84d9ecfcb27d14 (diff)
downloadFreeBSD-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/isa/sio.c')
-rw-r--r--sys/isa/sio.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/sys/isa/sio.c b/sys/isa/sio.c
index 012920d..0e9dcad 100644
--- a/sys/isa/sio.c
+++ b/sys/isa/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;
OpenPOWER on IntegriCloud