patch-2.3.19 linux/include/pcmcia/bus_ops.h
Next file: linux/include/pcmcia/mem_op.h
Previous file: linux/include/net/irda/toshoboe.h
Back to the patch index
Back to the overall index
- Lines: 25
- Date:
Sat Oct 2 07:49:30 1999
- Orig file:
v2.3.18/linux/include/pcmcia/bus_ops.h
- Orig date:
Tue Sep 7 12:14:07 1999
diff -u --recursive --new-file v2.3.18/linux/include/pcmcia/bus_ops.h linux/include/pcmcia/bus_ops.h
@@ -1,5 +1,5 @@
/*
- * bus_ops.h 1.6 1999/08/28 04:12:33
+ * bus_ops.h 1.7 1999/09/10 06:22:33
*
* The contents of this file are subject to the Mozilla Public License
* Version 1.1 (the "License"); you may not use this file except in
@@ -30,6 +30,8 @@
#ifndef _LINUX_BUS_OPS_H
#define _LINUX_BUS_OPS_H
+#ifdef CONFIG_VIRTUAL_BUS
+
typedef struct bus_operations {
void *priv;
u32 (*b_in)(void *bus, u32 port, s32 sz);
@@ -51,8 +53,6 @@
void *dev_id);
void (*b_free_irq)(void *bus, u_int irq, void *dev_id);
} bus_operations;
-
-#ifdef CONFIG_VIRTUAL_BUS
#define bus_inb(b,p) (b)->b_in((b),(p),0)
#define bus_inw(b,p) (b)->b_in((b),(p),1)
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)