Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 1 | #include <linux/types.h> |
| 2 | #include <linux/mm.h> |
Tejun Heo | 5a0e3ad | 2010-03-24 17:04:11 +0900 | [diff] [blame] | 3 | #include <linux/slab.h> |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 4 | #include <linux/blkdev.h> |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 5 | #include <linux/ioport.h> |
| 6 | #include <linux/init.h> |
| 7 | #include <linux/spinlock.h> |
| 8 | #include <linux/interrupt.h> |
| 9 | |
| 10 | #include <asm/setup.h> |
| 11 | #include <asm/page.h> |
| 12 | #include <asm/pgtable.h> |
| 13 | #include <asm/amigaints.h> |
| 14 | #include <asm/amigahw.h> |
| 15 | #include <asm/irq.h> |
| 16 | |
| 17 | #include "scsi.h" |
| 18 | #include <scsi/scsi_host.h> |
| 19 | #include "wd33c93.h" |
| 20 | #include "a3000.h" |
| 21 | |
Geert Uytterhoeven | 2135101 | 2010-04-04 11:00:35 +0200 | [diff] [blame] | 22 | #include <linux/stat.h> |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 23 | |
Geert Uytterhoeven | 2135101 | 2010-04-04 11:00:35 +0200 | [diff] [blame] | 24 | |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 25 | static struct Scsi_Host *a3000_host = NULL; |
| 26 | |
Adrian Bunk | 9387edb | 2009-03-04 12:06:08 -0800 | [diff] [blame] | 27 | static int a3000_release(struct Scsi_Host *instance); |
| 28 | |
Geert Uytterhoeven | 2135101 | 2010-04-04 11:00:35 +0200 | [diff] [blame] | 29 | static irqreturn_t a3000_intr(int irq, void *dummy) |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 30 | { |
Geert Uytterhoeven | d753722 | 2009-05-17 12:17:23 +0200 | [diff] [blame^] | 31 | a3000_scsiregs *regs = (a3000_scsiregs *)(a3000_host->base); |
| 32 | unsigned int status = regs->ISTR; |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 33 | unsigned long flags; |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 34 | |
| 35 | if (!(status & ISTR_INT_P)) |
| 36 | return IRQ_NONE; |
Geert Uytterhoeven | 2135101 | 2010-04-04 11:00:35 +0200 | [diff] [blame] | 37 | if (status & ISTR_INTS) { |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 38 | spin_lock_irqsave(a3000_host->host_lock, flags); |
Geert Uytterhoeven | 2135101 | 2010-04-04 11:00:35 +0200 | [diff] [blame] | 39 | wd33c93_intr(a3000_host); |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 40 | spin_unlock_irqrestore(a3000_host->host_lock, flags); |
| 41 | return IRQ_HANDLED; |
| 42 | } |
| 43 | printk("Non-serviced A3000 SCSI-interrupt? ISTR = %02x\n", status); |
| 44 | return IRQ_NONE; |
| 45 | } |
| 46 | |
Henrik Kretzschmar | 6539641 | 2006-09-12 23:49:33 +0200 | [diff] [blame] | 47 | static int dma_setup(struct scsi_cmnd *cmd, int dir_in) |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 48 | { |
Geert Uytterhoeven | afdbbc1 | 2010-04-04 11:00:39 +0200 | [diff] [blame] | 49 | struct WD33C93_hostdata *hdata = shost_priv(a3000_host); |
Geert Uytterhoeven | d753722 | 2009-05-17 12:17:23 +0200 | [diff] [blame^] | 50 | a3000_scsiregs *regs = (a3000_scsiregs *)(a3000_host->base); |
Geert Uytterhoeven | 2135101 | 2010-04-04 11:00:35 +0200 | [diff] [blame] | 51 | unsigned short cntr = CNTR_PDMD | CNTR_INTEN; |
| 52 | unsigned long addr = virt_to_bus(cmd->SCp.ptr); |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 53 | |
Geert Uytterhoeven | 2135101 | 2010-04-04 11:00:35 +0200 | [diff] [blame] | 54 | /* |
| 55 | * if the physical address has the wrong alignment, or if |
| 56 | * physical address is bad, or if it is a write and at the |
| 57 | * end of a physical memory chunk, then allocate a bounce |
| 58 | * buffer |
| 59 | */ |
| 60 | if (addr & A3000_XFER_MASK) { |
Geert Uytterhoeven | afdbbc1 | 2010-04-04 11:00:39 +0200 | [diff] [blame] | 61 | hdata->dma_bounce_len = (cmd->SCp.this_residual + 511) & ~0x1ff; |
| 62 | hdata->dma_bounce_buffer = kmalloc(hdata->dma_bounce_len, |
| 63 | GFP_KERNEL); |
Geert Uytterhoeven | 2135101 | 2010-04-04 11:00:35 +0200 | [diff] [blame] | 64 | |
| 65 | /* can't allocate memory; use PIO */ |
Geert Uytterhoeven | afdbbc1 | 2010-04-04 11:00:39 +0200 | [diff] [blame] | 66 | if (!hdata->dma_bounce_buffer) { |
| 67 | hdata->dma_bounce_len = 0; |
Geert Uytterhoeven | 2135101 | 2010-04-04 11:00:35 +0200 | [diff] [blame] | 68 | return 1; |
| 69 | } |
| 70 | |
| 71 | if (!dir_in) { |
| 72 | /* copy to bounce buffer for a write */ |
Geert Uytterhoeven | afdbbc1 | 2010-04-04 11:00:39 +0200 | [diff] [blame] | 73 | memcpy(hdata->dma_bounce_buffer, cmd->SCp.ptr, |
| 74 | cmd->SCp.this_residual); |
Geert Uytterhoeven | 2135101 | 2010-04-04 11:00:35 +0200 | [diff] [blame] | 75 | } |
| 76 | |
Geert Uytterhoeven | afdbbc1 | 2010-04-04 11:00:39 +0200 | [diff] [blame] | 77 | addr = virt_to_bus(hdata->dma_bounce_buffer); |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 78 | } |
| 79 | |
Geert Uytterhoeven | 2135101 | 2010-04-04 11:00:35 +0200 | [diff] [blame] | 80 | /* setup dma direction */ |
| 81 | if (!dir_in) |
| 82 | cntr |= CNTR_DDIR; |
| 83 | |
| 84 | /* remember direction */ |
Geert Uytterhoeven | afdbbc1 | 2010-04-04 11:00:39 +0200 | [diff] [blame] | 85 | hdata->dma_dir = dir_in; |
Geert Uytterhoeven | 2135101 | 2010-04-04 11:00:35 +0200 | [diff] [blame] | 86 | |
Geert Uytterhoeven | d753722 | 2009-05-17 12:17:23 +0200 | [diff] [blame^] | 87 | regs->CNTR = cntr; |
Geert Uytterhoeven | 2135101 | 2010-04-04 11:00:35 +0200 | [diff] [blame] | 88 | |
| 89 | /* setup DMA *physical* address */ |
Geert Uytterhoeven | d753722 | 2009-05-17 12:17:23 +0200 | [diff] [blame^] | 90 | regs->ACR = addr; |
Geert Uytterhoeven | 2135101 | 2010-04-04 11:00:35 +0200 | [diff] [blame] | 91 | |
| 92 | if (dir_in) { |
| 93 | /* invalidate any cache */ |
| 94 | cache_clear(addr, cmd->SCp.this_residual); |
| 95 | } else { |
| 96 | /* push any dirty cache */ |
| 97 | cache_push(addr, cmd->SCp.this_residual); |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 98 | } |
| 99 | |
Geert Uytterhoeven | 2135101 | 2010-04-04 11:00:35 +0200 | [diff] [blame] | 100 | /* start DMA */ |
| 101 | mb(); /* make sure setup is completed */ |
Geert Uytterhoeven | d753722 | 2009-05-17 12:17:23 +0200 | [diff] [blame^] | 102 | regs->ST_DMA = 1; |
Geert Uytterhoeven | 2135101 | 2010-04-04 11:00:35 +0200 | [diff] [blame] | 103 | mb(); /* make sure DMA has started before next IO */ |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 104 | |
Geert Uytterhoeven | 2135101 | 2010-04-04 11:00:35 +0200 | [diff] [blame] | 105 | /* return success */ |
| 106 | return 0; |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 107 | } |
| 108 | |
Henrik Kretzschmar | 6539641 | 2006-09-12 23:49:33 +0200 | [diff] [blame] | 109 | static void dma_stop(struct Scsi_Host *instance, struct scsi_cmnd *SCpnt, |
| 110 | int status) |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 111 | { |
Geert Uytterhoeven | afdbbc1 | 2010-04-04 11:00:39 +0200 | [diff] [blame] | 112 | struct WD33C93_hostdata *hdata = shost_priv(instance); |
Geert Uytterhoeven | d753722 | 2009-05-17 12:17:23 +0200 | [diff] [blame^] | 113 | a3000_scsiregs *regs = (a3000_scsiregs *)(instance->base); |
Geert Uytterhoeven | afdbbc1 | 2010-04-04 11:00:39 +0200 | [diff] [blame] | 114 | |
Geert Uytterhoeven | 2135101 | 2010-04-04 11:00:35 +0200 | [diff] [blame] | 115 | /* disable SCSI interrupts */ |
| 116 | unsigned short cntr = CNTR_PDMD; |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 117 | |
Geert Uytterhoeven | afdbbc1 | 2010-04-04 11:00:39 +0200 | [diff] [blame] | 118 | if (!hdata->dma_dir) |
Geert Uytterhoeven | 2135101 | 2010-04-04 11:00:35 +0200 | [diff] [blame] | 119 | cntr |= CNTR_DDIR; |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 120 | |
Geert Uytterhoeven | d753722 | 2009-05-17 12:17:23 +0200 | [diff] [blame^] | 121 | regs->CNTR = cntr; |
Geert Uytterhoeven | 2135101 | 2010-04-04 11:00:35 +0200 | [diff] [blame] | 122 | mb(); /* make sure CNTR is updated before next IO */ |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 123 | |
Geert Uytterhoeven | 2135101 | 2010-04-04 11:00:35 +0200 | [diff] [blame] | 124 | /* flush if we were reading */ |
Geert Uytterhoeven | afdbbc1 | 2010-04-04 11:00:39 +0200 | [diff] [blame] | 125 | if (hdata->dma_dir) { |
Geert Uytterhoeven | d753722 | 2009-05-17 12:17:23 +0200 | [diff] [blame^] | 126 | regs->FLUSH = 1; |
Geert Uytterhoeven | 2135101 | 2010-04-04 11:00:35 +0200 | [diff] [blame] | 127 | mb(); /* don't allow prefetch */ |
Geert Uytterhoeven | d753722 | 2009-05-17 12:17:23 +0200 | [diff] [blame^] | 128 | while (!(regs->ISTR & ISTR_FE_FLG)) |
Geert Uytterhoeven | 2135101 | 2010-04-04 11:00:35 +0200 | [diff] [blame] | 129 | barrier(); |
| 130 | mb(); /* no IO until FLUSH is done */ |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 131 | } |
Geert Uytterhoeven | 2135101 | 2010-04-04 11:00:35 +0200 | [diff] [blame] | 132 | |
| 133 | /* clear a possible interrupt */ |
| 134 | /* I think that this CINT is only necessary if you are |
| 135 | * using the terminal count features. HM 7 Mar 1994 |
| 136 | */ |
Geert Uytterhoeven | d753722 | 2009-05-17 12:17:23 +0200 | [diff] [blame^] | 137 | regs->CINT = 1; |
Geert Uytterhoeven | 2135101 | 2010-04-04 11:00:35 +0200 | [diff] [blame] | 138 | |
| 139 | /* stop DMA */ |
Geert Uytterhoeven | d753722 | 2009-05-17 12:17:23 +0200 | [diff] [blame^] | 140 | regs->SP_DMA = 1; |
Geert Uytterhoeven | 2135101 | 2010-04-04 11:00:35 +0200 | [diff] [blame] | 141 | mb(); /* make sure DMA is stopped before next IO */ |
| 142 | |
| 143 | /* restore the CONTROL bits (minus the direction flag) */ |
Geert Uytterhoeven | d753722 | 2009-05-17 12:17:23 +0200 | [diff] [blame^] | 144 | regs->CNTR = CNTR_PDMD | CNTR_INTEN; |
Geert Uytterhoeven | 2135101 | 2010-04-04 11:00:35 +0200 | [diff] [blame] | 145 | mb(); /* make sure CNTR is updated before next IO */ |
| 146 | |
| 147 | /* copy from a bounce buffer, if necessary */ |
Geert Uytterhoeven | afdbbc1 | 2010-04-04 11:00:39 +0200 | [diff] [blame] | 148 | if (status && hdata->dma_bounce_buffer) { |
Geert Uytterhoeven | 2135101 | 2010-04-04 11:00:35 +0200 | [diff] [blame] | 149 | if (SCpnt) { |
Geert Uytterhoeven | afdbbc1 | 2010-04-04 11:00:39 +0200 | [diff] [blame] | 150 | if (hdata->dma_dir && SCpnt) |
Geert Uytterhoeven | 2135101 | 2010-04-04 11:00:35 +0200 | [diff] [blame] | 151 | memcpy(SCpnt->SCp.ptr, |
Geert Uytterhoeven | afdbbc1 | 2010-04-04 11:00:39 +0200 | [diff] [blame] | 152 | hdata->dma_bounce_buffer, |
Geert Uytterhoeven | 2135101 | 2010-04-04 11:00:35 +0200 | [diff] [blame] | 153 | SCpnt->SCp.this_residual); |
Geert Uytterhoeven | afdbbc1 | 2010-04-04 11:00:39 +0200 | [diff] [blame] | 154 | kfree(hdata->dma_bounce_buffer); |
| 155 | hdata->dma_bounce_buffer = NULL; |
| 156 | hdata->dma_bounce_len = 0; |
Geert Uytterhoeven | 2135101 | 2010-04-04 11:00:35 +0200 | [diff] [blame] | 157 | } else { |
Geert Uytterhoeven | afdbbc1 | 2010-04-04 11:00:39 +0200 | [diff] [blame] | 158 | kfree(hdata->dma_bounce_buffer); |
| 159 | hdata->dma_bounce_buffer = NULL; |
| 160 | hdata->dma_bounce_len = 0; |
Geert Uytterhoeven | 2135101 | 2010-04-04 11:00:35 +0200 | [diff] [blame] | 161 | } |
| 162 | } |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 163 | } |
| 164 | |
Adrian Bunk | 9387edb | 2009-03-04 12:06:08 -0800 | [diff] [blame] | 165 | static int __init a3000_detect(struct scsi_host_template *tpnt) |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 166 | { |
Geert Uytterhoeven | d753722 | 2009-05-17 12:17:23 +0200 | [diff] [blame^] | 167 | wd33c93_regs wdregs; |
| 168 | a3000_scsiregs *regs; |
Geert Uytterhoeven | afdbbc1 | 2010-04-04 11:00:39 +0200 | [diff] [blame] | 169 | struct WD33C93_hostdata *hdata; |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 170 | |
Geert Uytterhoeven | 2135101 | 2010-04-04 11:00:35 +0200 | [diff] [blame] | 171 | if (!MACH_IS_AMIGA || !AMIGAHW_PRESENT(A3000_SCSI)) |
| 172 | return 0; |
| 173 | if (!request_mem_region(0xDD0000, 256, "wd33c93")) |
| 174 | return 0; |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 175 | |
Geert Uytterhoeven | 2135101 | 2010-04-04 11:00:35 +0200 | [diff] [blame] | 176 | tpnt->proc_name = "A3000"; |
| 177 | tpnt->proc_info = &wd33c93_proc_info; |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 178 | |
Geert Uytterhoeven | 2135101 | 2010-04-04 11:00:35 +0200 | [diff] [blame] | 179 | a3000_host = scsi_register(tpnt, sizeof(struct WD33C93_hostdata)); |
| 180 | if (a3000_host == NULL) |
| 181 | goto fail_register; |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 182 | |
Geert Uytterhoeven | 2135101 | 2010-04-04 11:00:35 +0200 | [diff] [blame] | 183 | a3000_host->base = ZTWO_VADDR(0xDD0000); |
| 184 | a3000_host->irq = IRQ_AMIGA_PORTS; |
Geert Uytterhoeven | d753722 | 2009-05-17 12:17:23 +0200 | [diff] [blame^] | 185 | regs = (a3000_scsiregs *)(a3000_host->base); |
| 186 | regs->DAWR = DAWR_A3000; |
| 187 | wdregs.SASR = ®s->SASR; |
| 188 | wdregs.SCMD = ®s->SCMD; |
Geert Uytterhoeven | afdbbc1 | 2010-04-04 11:00:39 +0200 | [diff] [blame] | 189 | hdata = shost_priv(a3000_host); |
| 190 | hdata->no_sync = 0xff; |
| 191 | hdata->fast = 0; |
| 192 | hdata->dma_mode = CTRL_DMA; |
Geert Uytterhoeven | d753722 | 2009-05-17 12:17:23 +0200 | [diff] [blame^] | 193 | wd33c93_init(a3000_host, wdregs, dma_setup, dma_stop, |
| 194 | WD33C93_FS_12_15); |
Geert Uytterhoeven | 2135101 | 2010-04-04 11:00:35 +0200 | [diff] [blame] | 195 | if (request_irq(IRQ_AMIGA_PORTS, a3000_intr, IRQF_SHARED, "A3000 SCSI", |
| 196 | a3000_intr)) |
| 197 | goto fail_irq; |
Geert Uytterhoeven | d753722 | 2009-05-17 12:17:23 +0200 | [diff] [blame^] | 198 | regs->CNTR = CNTR_PDMD | CNTR_INTEN; |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 199 | |
Geert Uytterhoeven | 2135101 | 2010-04-04 11:00:35 +0200 | [diff] [blame] | 200 | return 1; |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 201 | |
| 202 | fail_irq: |
Geert Uytterhoeven | 2135101 | 2010-04-04 11:00:35 +0200 | [diff] [blame] | 203 | scsi_unregister(a3000_host); |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 204 | fail_register: |
Geert Uytterhoeven | 2135101 | 2010-04-04 11:00:35 +0200 | [diff] [blame] | 205 | release_mem_region(0xDD0000, 256); |
| 206 | return 0; |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 207 | } |
| 208 | |
Henrik Kretzschmar | 6539641 | 2006-09-12 23:49:33 +0200 | [diff] [blame] | 209 | static int a3000_bus_reset(struct scsi_cmnd *cmd) |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 210 | { |
| 211 | /* FIXME perform bus-specific reset */ |
Geert Uytterhoeven | 2135101 | 2010-04-04 11:00:35 +0200 | [diff] [blame] | 212 | |
Jeff Garzik | df0ae24 | 2005-05-28 07:57:14 -0400 | [diff] [blame] | 213 | /* FIXME 2: kill this entire function, which should |
| 214 | cause mid-layer to call wd33c93_host_reset anyway? */ |
Jeff Garzik | 68b3aa7 | 2005-05-28 07:56:31 -0400 | [diff] [blame] | 215 | |
| 216 | spin_lock_irq(cmd->device->host->host_lock); |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 217 | wd33c93_host_reset(cmd); |
Jeff Garzik | 68b3aa7 | 2005-05-28 07:56:31 -0400 | [diff] [blame] | 218 | spin_unlock_irq(cmd->device->host->host_lock); |
| 219 | |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 220 | return SUCCESS; |
| 221 | } |
| 222 | |
| 223 | #define HOSTS_C |
| 224 | |
Christoph Hellwig | d0be4a7d | 2005-10-31 18:31:40 +0100 | [diff] [blame] | 225 | static struct scsi_host_template driver_template = { |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 226 | .proc_name = "A3000", |
| 227 | .name = "Amiga 3000 built-in SCSI", |
| 228 | .detect = a3000_detect, |
| 229 | .release = a3000_release, |
| 230 | .queuecommand = wd33c93_queuecommand, |
| 231 | .eh_abort_handler = wd33c93_abort, |
| 232 | .eh_bus_reset_handler = a3000_bus_reset, |
| 233 | .eh_host_reset_handler = wd33c93_host_reset, |
| 234 | .can_queue = CAN_QUEUE, |
| 235 | .this_id = 7, |
| 236 | .sg_tablesize = SG_ALL, |
| 237 | .cmd_per_lun = CMD_PER_LUN, |
| 238 | .use_clustering = ENABLE_CLUSTERING |
| 239 | }; |
| 240 | |
| 241 | |
| 242 | #include "scsi_module.c" |
| 243 | |
Adrian Bunk | 9387edb | 2009-03-04 12:06:08 -0800 | [diff] [blame] | 244 | static int a3000_release(struct Scsi_Host *instance) |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 245 | { |
Geert Uytterhoeven | d753722 | 2009-05-17 12:17:23 +0200 | [diff] [blame^] | 246 | a3000_scsiregs *regs = (a3000_scsiregs *)(instance->base); |
| 247 | |
| 248 | regs->CNTR = 0; |
Geert Uytterhoeven | 2135101 | 2010-04-04 11:00:35 +0200 | [diff] [blame] | 249 | release_mem_region(0xDD0000, 256); |
| 250 | free_irq(IRQ_AMIGA_PORTS, a3000_intr); |
| 251 | return 1; |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 252 | } |
| 253 | |
| 254 | MODULE_LICENSE("GPL"); |