patch-2.3.36 linux/include/pcmcia/ss.h
Next file: linux/kernel/ksyms.c
Previous file: linux/include/net/irda/irlmp_frame.h
Back to the patch index
Back to the overall index
- Lines: 37
- Date:
Mon Jan 3 16:34:39 2000
- Orig file:
v2.3.35/linux/include/pcmcia/ss.h
- Orig date:
Wed Dec 29 13:13:21 1999
diff -u --recursive --new-file v2.3.35/linux/include/pcmcia/ss.h linux/include/pcmcia/ss.h
@@ -52,8 +52,7 @@
u_int irq_mask;
u_int map_size;
u_char pci_irq;
- u_char cardbus;
- struct pci_bus *cb_bus;
+ struct pci_dev *cb_dev;
struct bus_operations *bus;
} socket_cap_t;
@@ -72,6 +71,8 @@
u_char io_irq;
} socket_state_t;
+extern socket_state_t dead_socket;
+
/* Socket configuration flags */
#define SS_PWR_AUTO 0x0010
#define SS_IOCARD 0x0020
@@ -118,6 +119,8 @@
* Socket operations.
*/
struct pccard_operations {
+ int (*init)(unsigned int sock);
+ int (*suspend)(unsigned int sock);
int (*register_callback)(unsigned int sock, void (*handler)(void *, unsigned int), void * info);
int (*inquire_socket)(unsigned int sock, socket_cap_t *cap);
int (*get_status)(unsigned int sock, u_int *value);
@@ -127,8 +130,6 @@
int (*set_io_map)(unsigned int sock, struct pccard_io_map *io);
int (*get_mem_map)(unsigned int sock, struct pccard_mem_map *mem);
int (*set_mem_map)(unsigned int sock, struct pccard_mem_map *mem);
- int (*get_bridge)(unsigned int sock, struct cb_bridge_map *m);
- int (*set_bridge)(unsigned int sock, struct cb_bridge_map *m);
void (*proc_setup)(unsigned int sock, struct proc_dir_entry *base);
};
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)