sgiwd93.c (c1f3ee120bb61045b1c0a3ead620d1d65af47130) sgiwd93.c (be3cb3d84bb8dffecb7c5570355866075caa7e95)
1/*
2 * This file is subject to the terms and conditions of the GNU General Public
3 * License. See the file "COPYING" in the main directory of this archive
4 * for more details.
5 *
6 * Copyright (C) 1996 David S. Miller (dm@engr.sgi.com)
7 * Copyright (C) 1999 Andrew R. Baker (andrewb@uab.edu)
8 * Copyright (C) 2001 Florian Lohoff (flo@rfc822.org)

--- 249 unchanged lines hidden (view full) ---

258 goto out_put;
259 }
260
261 init_hpc_chain(hdata);
262
263 regs.SASR = wdregs + 3;
264 regs.SCMD = wdregs + 7;
265
1/*
2 * This file is subject to the terms and conditions of the GNU General Public
3 * License. See the file "COPYING" in the main directory of this archive
4 * for more details.
5 *
6 * Copyright (C) 1996 David S. Miller (dm@engr.sgi.com)
7 * Copyright (C) 1999 Andrew R. Baker (andrewb@uab.edu)
8 * Copyright (C) 2001 Florian Lohoff (flo@rfc822.org)

--- 249 unchanged lines hidden (view full) ---

258 goto out_put;
259 }
260
261 init_hpc_chain(hdata);
262
263 regs.SASR = wdregs + 3;
264 regs.SCMD = wdregs + 7;
265
266 hdata->wh.no_sync = 0;
267 hdata->wh.fast = 1;
268 hdata->wh.dma_mode = CTRL_BURST;
269
266 wd33c93_init(host, regs, dma_setup, dma_stop, WD33C93_FS_MHZ(20));
267
270 wd33c93_init(host, regs, dma_setup, dma_stop, WD33C93_FS_MHZ(20));
271
268 if (hdata->wh.no_sync == 0xff)
269 hdata->wh.no_sync = 0;
270
271 err = request_irq(irq, sgiwd93_intr, 0, "SGI WD93", host);
272 if (err) {
273 printk(KERN_WARNING "sgiwd93: Could not register irq %d "
274 "for host %d.\n", irq, unit);
275 goto out_free;
276 }
277
278 platform_set_drvdata(pdev, host);

--- 56 unchanged lines hidden ---
272 err = request_irq(irq, sgiwd93_intr, 0, "SGI WD93", host);
273 if (err) {
274 printk(KERN_WARNING "sgiwd93: Could not register irq %d "
275 "for host %d.\n", irq, unit);
276 goto out_free;
277 }
278
279 platform_set_drvdata(pdev, host);

--- 56 unchanged lines hidden ---