Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 1 | /* |
| 2 | * Sharp SL-C7xx Series PCMCIA routines |
| 3 | * |
| 4 | * Copyright (c) 2004-2005 Richard Purdie |
| 5 | * |
| 6 | * Based on Sharp's 2.4 kernel patches and pxa2xx_mainstone.c |
| 7 | * |
| 8 | * This program is free software; you can redistribute it and/or modify |
| 9 | * it under the terms of the GNU General Public License version 2 as |
| 10 | * published by the Free Software Foundation. |
| 11 | * |
| 12 | */ |
| 13 | |
| 14 | #include <linux/module.h> |
| 15 | #include <linux/init.h> |
| 16 | #include <linux/kernel.h> |
| 17 | #include <linux/errno.h> |
| 18 | #include <linux/interrupt.h> |
Russell King | d052d1b | 2005-10-29 19:07:23 +0100 | [diff] [blame] | 19 | #include <linux/platform_device.h> |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 20 | |
Pavel Machek | 77bb86a | 2005-10-30 23:39:02 +0000 | [diff] [blame] | 21 | #include <asm/mach-types.h> |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 22 | #include <asm/hardware.h> |
| 23 | #include <asm/irq.h> |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 24 | #include <asm/hardware/scoop.h> |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 25 | |
| 26 | #include "soc_common.h" |
| 27 | |
| 28 | #define NO_KEEP_VS 0x0001 |
| 29 | |
Richard Purdie | a63ae44 | 2005-11-08 19:15:43 +0000 | [diff] [blame] | 30 | /* PCMCIA to Scoop linkage |
| 31 | |
| 32 | There is no easy way to link multiple scoop devices into one |
| 33 | single entity for the pxa2xx_pcmcia device so this structure |
| 34 | is used which is setup by the platform code |
| 35 | */ |
| 36 | struct scoop_pcmcia_config *platform_scoop_config; |
| 37 | #define SCOOP_DEV platform_scoop_config->devs |
| 38 | |
Richard Purdie | 945b957 | 2006-01-05 20:44:57 +0000 | [diff] [blame^] | 39 | static void sharpsl_pcmcia_init_reset(struct soc_pcmcia_socket *skt) |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 40 | { |
Richard Purdie | 945b957 | 2006-01-05 20:44:57 +0000 | [diff] [blame^] | 41 | struct scoop_pcmcia_dev *scoopdev = &SCOOP_DEV[skt->nr]; |
| 42 | |
Richard Purdie | 0ce7625 | 2005-09-05 20:49:54 +0100 | [diff] [blame] | 43 | reset_scoop(scoopdev->dev); |
Richard Purdie | 945b957 | 2006-01-05 20:44:57 +0000 | [diff] [blame^] | 44 | |
| 45 | /* Shared power controls need to be handled carefully */ |
| 46 | if (platform_scoop_config->power_ctrl) |
| 47 | platform_scoop_config->power_ctrl(scoopdev->dev, 0x0000, skt->nr); |
| 48 | else |
| 49 | write_scoop_reg(scoopdev->dev, SCOOP_CPR, 0x0000); |
| 50 | |
Richard Purdie | 0ce7625 | 2005-09-05 20:49:54 +0100 | [diff] [blame] | 51 | scoopdev->keep_vs = NO_KEEP_VS; |
| 52 | scoopdev->keep_rd = 0; |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 53 | } |
| 54 | |
| 55 | static int sharpsl_pcmcia_hw_init(struct soc_pcmcia_socket *skt) |
| 56 | { |
| 57 | int ret; |
| 58 | |
Richard Purdie | a63ae44 | 2005-11-08 19:15:43 +0000 | [diff] [blame] | 59 | if (platform_scoop_config->pcmcia_init) |
| 60 | platform_scoop_config->pcmcia_init(); |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 61 | |
| 62 | /* Register interrupts */ |
Richard Purdie | a63ae44 | 2005-11-08 19:15:43 +0000 | [diff] [blame] | 63 | if (SCOOP_DEV[skt->nr].cd_irq >= 0) { |
Richard Purdie | 0ce7625 | 2005-09-05 20:49:54 +0100 | [diff] [blame] | 64 | struct pcmcia_irqs cd_irq; |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 65 | |
Richard Purdie | 0ce7625 | 2005-09-05 20:49:54 +0100 | [diff] [blame] | 66 | cd_irq.sock = skt->nr; |
Richard Purdie | a63ae44 | 2005-11-08 19:15:43 +0000 | [diff] [blame] | 67 | cd_irq.irq = SCOOP_DEV[skt->nr].cd_irq; |
| 68 | cd_irq.str = SCOOP_DEV[skt->nr].cd_irq_str; |
Richard Purdie | 0ce7625 | 2005-09-05 20:49:54 +0100 | [diff] [blame] | 69 | ret = soc_pcmcia_request_irqs(skt, &cd_irq, 1); |
| 70 | |
| 71 | if (ret) { |
| 72 | printk(KERN_ERR "Request for Compact Flash IRQ failed\n"); |
| 73 | return ret; |
| 74 | } |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 75 | } |
| 76 | |
Richard Purdie | a63ae44 | 2005-11-08 19:15:43 +0000 | [diff] [blame] | 77 | skt->irq = SCOOP_DEV[skt->nr].irq; |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 78 | |
| 79 | return 0; |
| 80 | } |
| 81 | |
| 82 | static void sharpsl_pcmcia_hw_shutdown(struct soc_pcmcia_socket *skt) |
| 83 | { |
Richard Purdie | a63ae44 | 2005-11-08 19:15:43 +0000 | [diff] [blame] | 84 | if (SCOOP_DEV[skt->nr].cd_irq >= 0) { |
Richard Purdie | 0ce7625 | 2005-09-05 20:49:54 +0100 | [diff] [blame] | 85 | struct pcmcia_irqs cd_irq; |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 86 | |
Richard Purdie | 0ce7625 | 2005-09-05 20:49:54 +0100 | [diff] [blame] | 87 | cd_irq.sock = skt->nr; |
Richard Purdie | a63ae44 | 2005-11-08 19:15:43 +0000 | [diff] [blame] | 88 | cd_irq.irq = SCOOP_DEV[skt->nr].cd_irq; |
| 89 | cd_irq.str = SCOOP_DEV[skt->nr].cd_irq_str; |
Richard Purdie | 0ce7625 | 2005-09-05 20:49:54 +0100 | [diff] [blame] | 90 | soc_pcmcia_free_irqs(skt, &cd_irq, 1); |
| 91 | } |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 92 | } |
| 93 | |
| 94 | |
| 95 | static void sharpsl_pcmcia_socket_state(struct soc_pcmcia_socket *skt, |
| 96 | struct pcmcia_state *state) |
| 97 | { |
| 98 | unsigned short cpr, csr; |
Richard Purdie | a63ae44 | 2005-11-08 19:15:43 +0000 | [diff] [blame] | 99 | struct device *scoop = SCOOP_DEV[skt->nr].dev; |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 100 | |
Richard Purdie | a63ae44 | 2005-11-08 19:15:43 +0000 | [diff] [blame] | 101 | cpr = read_scoop_reg(SCOOP_DEV[skt->nr].dev, SCOOP_CPR); |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 102 | |
Richard Purdie | 0ce7625 | 2005-09-05 20:49:54 +0100 | [diff] [blame] | 103 | write_scoop_reg(scoop, SCOOP_IRM, 0x00FF); |
| 104 | write_scoop_reg(scoop, SCOOP_ISR, 0x0000); |
| 105 | write_scoop_reg(scoop, SCOOP_IRM, 0x0000); |
| 106 | csr = read_scoop_reg(scoop, SCOOP_CSR); |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 107 | if (csr & 0x0004) { |
| 108 | /* card eject */ |
Richard Purdie | 0ce7625 | 2005-09-05 20:49:54 +0100 | [diff] [blame] | 109 | write_scoop_reg(scoop, SCOOP_CDR, 0x0000); |
Richard Purdie | a63ae44 | 2005-11-08 19:15:43 +0000 | [diff] [blame] | 110 | SCOOP_DEV[skt->nr].keep_vs = NO_KEEP_VS; |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 111 | } |
Richard Purdie | a63ae44 | 2005-11-08 19:15:43 +0000 | [diff] [blame] | 112 | else if (!(SCOOP_DEV[skt->nr].keep_vs & NO_KEEP_VS)) { |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 113 | /* keep vs1,vs2 */ |
Richard Purdie | 0ce7625 | 2005-09-05 20:49:54 +0100 | [diff] [blame] | 114 | write_scoop_reg(scoop, SCOOP_CDR, 0x0000); |
Richard Purdie | a63ae44 | 2005-11-08 19:15:43 +0000 | [diff] [blame] | 115 | csr |= SCOOP_DEV[skt->nr].keep_vs; |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 116 | } |
| 117 | else if (cpr & 0x0003) { |
| 118 | /* power on */ |
Richard Purdie | 0ce7625 | 2005-09-05 20:49:54 +0100 | [diff] [blame] | 119 | write_scoop_reg(scoop, SCOOP_CDR, 0x0000); |
Richard Purdie | a63ae44 | 2005-11-08 19:15:43 +0000 | [diff] [blame] | 120 | SCOOP_DEV[skt->nr].keep_vs = (csr & 0x00C0); |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 121 | } |
| 122 | else { |
| 123 | /* card detect */ |
Richard Purdie | a63ae44 | 2005-11-08 19:15:43 +0000 | [diff] [blame] | 124 | if ((machine_is_spitz() || machine_is_borzoi()) && skt->nr == 1) { |
| 125 | write_scoop_reg(scoop, SCOOP_CDR, 0x0000); |
| 126 | } else { |
| 127 | write_scoop_reg(scoop, SCOOP_CDR, 0x0002); |
| 128 | } |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 129 | } |
| 130 | |
| 131 | state->detect = (csr & 0x0004) ? 0 : 1; |
| 132 | state->ready = (csr & 0x0002) ? 1 : 0; |
| 133 | state->bvd1 = (csr & 0x0010) ? 1 : 0; |
| 134 | state->bvd2 = (csr & 0x0020) ? 1 : 0; |
| 135 | state->wrprot = (csr & 0x0008) ? 1 : 0; |
| 136 | state->vs_3v = (csr & 0x0040) ? 0 : 1; |
| 137 | state->vs_Xv = (csr & 0x0080) ? 0 : 1; |
| 138 | |
| 139 | if ((cpr & 0x0080) && ((cpr & 0x8040) != 0x8040)) { |
| 140 | printk(KERN_ERR "sharpsl_pcmcia_socket_state(): CPR=%04X, Low voltage!\n", cpr); |
| 141 | } |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 142 | } |
| 143 | |
| 144 | |
| 145 | static int sharpsl_pcmcia_configure_socket(struct soc_pcmcia_socket *skt, |
| 146 | const socket_state_t *state) |
| 147 | { |
| 148 | unsigned long flags; |
Richard Purdie | a63ae44 | 2005-11-08 19:15:43 +0000 | [diff] [blame] | 149 | struct device *scoop = SCOOP_DEV[skt->nr].dev; |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 150 | |
| 151 | unsigned short cpr, ncpr, ccr, nccr, mcr, nmcr, imr, nimr; |
| 152 | |
| 153 | switch (state->Vcc) { |
| 154 | case 0: break; |
| 155 | case 33: break; |
| 156 | case 50: break; |
| 157 | default: |
| 158 | printk(KERN_ERR "sharpsl_pcmcia_configure_socket(): bad Vcc %u\n", state->Vcc); |
| 159 | return -1; |
| 160 | } |
| 161 | |
| 162 | if ((state->Vpp!=state->Vcc) && (state->Vpp!=0)) { |
| 163 | printk(KERN_ERR "CF slot cannot support Vpp %u\n", state->Vpp); |
| 164 | return -1; |
| 165 | } |
| 166 | |
| 167 | local_irq_save(flags); |
| 168 | |
Richard Purdie | 0ce7625 | 2005-09-05 20:49:54 +0100 | [diff] [blame] | 169 | nmcr = (mcr = read_scoop_reg(scoop, SCOOP_MCR)) & ~0x0010; |
| 170 | ncpr = (cpr = read_scoop_reg(scoop, SCOOP_CPR)) & ~0x0083; |
| 171 | nccr = (ccr = read_scoop_reg(scoop, SCOOP_CCR)) & ~0x0080; |
| 172 | nimr = (imr = read_scoop_reg(scoop, SCOOP_IMR)) & ~0x003E; |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 173 | |
Richard Purdie | a63ae44 | 2005-11-08 19:15:43 +0000 | [diff] [blame] | 174 | if ((machine_is_spitz() || machine_is_borzoi() || machine_is_akita()) && skt->nr == 0) { |
| 175 | ncpr |= (state->Vcc == 33) ? 0x0002 : |
| 176 | (state->Vcc == 50) ? 0x0002 : 0; |
| 177 | } else { |
| 178 | ncpr |= (state->Vcc == 33) ? 0x0001 : |
| 179 | (state->Vcc == 50) ? 0x0002 : 0; |
| 180 | } |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 181 | nmcr |= (state->flags&SS_IOCARD) ? 0x0010 : 0; |
| 182 | ncpr |= (state->flags&SS_OUTPUT_ENA) ? 0x0080 : 0; |
| 183 | nccr |= (state->flags&SS_RESET)? 0x0080: 0; |
| 184 | nimr |= ((skt->status&SS_DETECT) ? 0x0004 : 0)| |
| 185 | ((skt->status&SS_READY) ? 0x0002 : 0)| |
| 186 | ((skt->status&SS_BATDEAD)? 0x0010 : 0)| |
| 187 | ((skt->status&SS_BATWARN)? 0x0020 : 0)| |
| 188 | ((skt->status&SS_STSCHG) ? 0x0010 : 0)| |
| 189 | ((skt->status&SS_WRPROT) ? 0x0008 : 0); |
| 190 | |
| 191 | if (!(ncpr & 0x0003)) { |
Richard Purdie | a63ae44 | 2005-11-08 19:15:43 +0000 | [diff] [blame] | 192 | SCOOP_DEV[skt->nr].keep_rd = 0; |
| 193 | } else if (!SCOOP_DEV[skt->nr].keep_rd) { |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 194 | if (nccr & 0x0080) |
Richard Purdie | a63ae44 | 2005-11-08 19:15:43 +0000 | [diff] [blame] | 195 | SCOOP_DEV[skt->nr].keep_rd = 1; |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 196 | else |
| 197 | nccr |= 0x0080; |
| 198 | } |
| 199 | |
| 200 | if (mcr != nmcr) |
Richard Purdie | 0ce7625 | 2005-09-05 20:49:54 +0100 | [diff] [blame] | 201 | write_scoop_reg(scoop, SCOOP_MCR, nmcr); |
Richard Purdie | a63ae44 | 2005-11-08 19:15:43 +0000 | [diff] [blame] | 202 | if (cpr != ncpr) { |
| 203 | if (platform_scoop_config->power_ctrl) |
| 204 | platform_scoop_config->power_ctrl(scoop, ncpr , skt->nr); |
| 205 | else |
| 206 | write_scoop_reg(scoop, SCOOP_CPR, ncpr); |
| 207 | } |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 208 | if (ccr != nccr) |
Richard Purdie | 0ce7625 | 2005-09-05 20:49:54 +0100 | [diff] [blame] | 209 | write_scoop_reg(scoop, SCOOP_CCR, nccr); |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 210 | if (imr != nimr) |
Richard Purdie | 0ce7625 | 2005-09-05 20:49:54 +0100 | [diff] [blame] | 211 | write_scoop_reg(scoop, SCOOP_IMR, nimr); |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 212 | |
| 213 | local_irq_restore(flags); |
| 214 | |
| 215 | return 0; |
| 216 | } |
| 217 | |
| 218 | static void sharpsl_pcmcia_socket_init(struct soc_pcmcia_socket *skt) |
| 219 | { |
Richard Purdie | 945b957 | 2006-01-05 20:44:57 +0000 | [diff] [blame^] | 220 | sharpsl_pcmcia_init_reset(skt); |
Richard Purdie | 0ce7625 | 2005-09-05 20:49:54 +0100 | [diff] [blame] | 221 | |
| 222 | /* Enable interrupt */ |
Richard Purdie | a63ae44 | 2005-11-08 19:15:43 +0000 | [diff] [blame] | 223 | write_scoop_reg(SCOOP_DEV[skt->nr].dev, SCOOP_IMR, 0x00C0); |
| 224 | write_scoop_reg(SCOOP_DEV[skt->nr].dev, SCOOP_MCR, 0x0101); |
| 225 | SCOOP_DEV[skt->nr].keep_vs = NO_KEEP_VS; |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 226 | } |
| 227 | |
| 228 | static void sharpsl_pcmcia_socket_suspend(struct soc_pcmcia_socket *skt) |
| 229 | { |
Richard Purdie | 945b957 | 2006-01-05 20:44:57 +0000 | [diff] [blame^] | 230 | sharpsl_pcmcia_init_reset(skt); |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 231 | } |
| 232 | |
| 233 | static struct pcmcia_low_level sharpsl_pcmcia_ops = { |
Richard Purdie | a63ae44 | 2005-11-08 19:15:43 +0000 | [diff] [blame] | 234 | .owner = THIS_MODULE, |
| 235 | .hw_init = sharpsl_pcmcia_hw_init, |
| 236 | .hw_shutdown = sharpsl_pcmcia_hw_shutdown, |
| 237 | .socket_state = sharpsl_pcmcia_socket_state, |
| 238 | .configure_socket = sharpsl_pcmcia_configure_socket, |
| 239 | .socket_init = sharpsl_pcmcia_socket_init, |
| 240 | .socket_suspend = sharpsl_pcmcia_socket_suspend, |
| 241 | .first = 0, |
| 242 | .nr = 0, |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 243 | }; |
| 244 | |
Pavel Machek | 77bb86a | 2005-10-30 23:39:02 +0000 | [diff] [blame] | 245 | #ifdef CONFIG_SA1100_COLLIE |
Richard Purdie | a63ae44 | 2005-11-08 19:15:43 +0000 | [diff] [blame] | 246 | #include "sa11xx_base.h" |
| 247 | |
Pavel Machek | 77bb86a | 2005-10-30 23:39:02 +0000 | [diff] [blame] | 248 | int __init pcmcia_collie_init(struct device *dev) |
| 249 | { |
| 250 | int ret = -ENODEV; |
| 251 | |
| 252 | if (machine_is_collie()) |
| 253 | ret = sa11xx_drv_pcmcia_probe(dev, &sharpsl_pcmcia_ops, 0, 1); |
| 254 | |
| 255 | return ret; |
| 256 | } |
| 257 | |
| 258 | #else |
| 259 | |
Richard Purdie | a63ae44 | 2005-11-08 19:15:43 +0000 | [diff] [blame] | 260 | static struct platform_device *sharpsl_pcmcia_device; |
| 261 | |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 262 | static int __init sharpsl_pcmcia_init(void) |
| 263 | { |
| 264 | int ret; |
| 265 | |
Richard Purdie | a63ae44 | 2005-11-08 19:15:43 +0000 | [diff] [blame] | 266 | sharpsl_pcmcia_ops.nr=platform_scoop_config->num_devs; |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 267 | sharpsl_pcmcia_device = kmalloc(sizeof(*sharpsl_pcmcia_device), GFP_KERNEL); |
| 268 | if (!sharpsl_pcmcia_device) |
| 269 | return -ENOMEM; |
Richard Purdie | 0ce7625 | 2005-09-05 20:49:54 +0100 | [diff] [blame] | 270 | |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 271 | memset(sharpsl_pcmcia_device, 0, sizeof(*sharpsl_pcmcia_device)); |
| 272 | sharpsl_pcmcia_device->name = "pxa2xx-pcmcia"; |
| 273 | sharpsl_pcmcia_device->dev.platform_data = &sharpsl_pcmcia_ops; |
Richard Purdie | a63ae44 | 2005-11-08 19:15:43 +0000 | [diff] [blame] | 274 | sharpsl_pcmcia_device->dev.parent=platform_scoop_config->devs[0].dev; |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 275 | |
| 276 | ret = platform_device_register(sharpsl_pcmcia_device); |
| 277 | if (ret) |
| 278 | kfree(sharpsl_pcmcia_device); |
| 279 | |
| 280 | return ret; |
| 281 | } |
| 282 | |
| 283 | static void __exit sharpsl_pcmcia_exit(void) |
| 284 | { |
| 285 | /* |
| 286 | * This call is supposed to free our sharpsl_pcmcia_device. |
| 287 | * Unfortunately platform_device don't have a free method, and |
| 288 | * we can't assume it's free of any reference at this point so we |
| 289 | * can't free it either. |
| 290 | */ |
| 291 | platform_device_unregister(sharpsl_pcmcia_device); |
| 292 | } |
| 293 | |
Richard Purdie | f36598ae | 2005-09-03 19:39:25 +0100 | [diff] [blame] | 294 | fs_initcall(sharpsl_pcmcia_init); |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 295 | module_exit(sharpsl_pcmcia_exit); |
Pavel Machek | 77bb86a | 2005-10-30 23:39:02 +0000 | [diff] [blame] | 296 | #endif |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 297 | |
| 298 | MODULE_DESCRIPTION("Sharp SL Series PCMCIA Support"); |
| 299 | MODULE_LICENSE("GPL"); |