summaryrefslogtreecommitdiffstats
path: root/drivers/pcmcia/i82365.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/pcmcia/i82365.c')
-rw-r--r--drivers/pcmcia/i82365.c35
1 files changed, 0 insertions, 35 deletions
diff --git a/drivers/pcmcia/i82365.c b/drivers/pcmcia/i82365.c
index 18d47d9a8..6ea612b84 100644
--- a/drivers/pcmcia/i82365.c
+++ b/drivers/pcmcia/i82365.c
@@ -165,25 +165,6 @@ typedef struct vg46x_state_t {
u_char ctl, ema;
} vg46x_state_t;
-typedef struct ti113x_state_t {
- u_int sysctl;
- u_char cardctl, devctl, diag;
-} ti113x_state_t;
-
-typedef struct rl5c4xx_state_t {
- u_short misc, ctl, io, mem;
-} rl5c4xx_state_t;
-
-typedef struct o2micro_state_t {
- u_char mode_a, mode_b, mode_c, mode_d;
- u_char mhpg, fifo, mode_e;
-} o2micro_state_t;
-
-typedef struct topic_state_t {
- u_char slot, ccr, cdr;
- u_int rcr;
-} topic_state_t;
-
typedef struct socket_info_t {
u_short type, flags;
socket_cap_t cap;
@@ -276,22 +257,6 @@ static pcic_t pcic[] = {
/*====================================================================*/
-/* Some PCI shortcuts */
-
-#define config_readb(sock, r, v) pci_read_config_byte((sock)->pdev, r, v)
-#define config_readw(sock, r, v) pci_read_config_word((sock)->pdev, r, v)
-#define config_readl(sock, r, v) pci_read_config_dword((sock)->pdev, r, v)
-#define config_writeb(sock, r, v) pci_write_config_byte((sock)->pdev, r, v)
-#define config_writew(sock, r, v) pci_write_config_word((sock)->pdev, r, v)
-#define config_writel(sock, r, v) pci_write_config_dword((sock)->pdev, r, v)
-
-#define cb_readb(s, r) readb(socket[s].cb_virt + (r))
-#define cb_readl(s, r) readl(socket[s].cb_virt + (r))
-#define cb_writeb(s, r, v) writeb(v, socket[s].cb_virt + (r))
-#define cb_writel(s, r, v) writel(v, socket[s].cb_virt + (r))
-
-/*====================================================================*/
-
static u_char i365_get(u_short sock, u_short reg)
{
{