wax.c (1da177e4c3f41524e886b7f1b8a0c1fc7321cac2) wax.c (53f01bba49938f115237fe43a261c31ac13ae5c6)
1/*
2 * WAX Device Driver
3 *
4 * (c) Copyright 2000 The Puffin Group Inc.
5 *
6 * This program is free software; you can redistribute it and/or modify
7 * it under the terms of the GNU General Public License as published by
8 * the Free Software Foundation; either version 2 of the License, or

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

76 struct gsc_irq gsc_irq;
77 int ret;
78
79 wax = kmalloc(sizeof(*wax), GFP_KERNEL);
80 if (!wax)
81 return -ENOMEM;
82
83 wax->name = "wax";
1/*
2 * WAX Device Driver
3 *
4 * (c) Copyright 2000 The Puffin Group Inc.
5 *
6 * This program is free software; you can redistribute it and/or modify
7 * it under the terms of the GNU General Public License as published by
8 * the Free Software Foundation; either version 2 of the License, or

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

76 struct gsc_irq gsc_irq;
77 int ret;
78
79 wax = kmalloc(sizeof(*wax), GFP_KERNEL);
80 if (!wax)
81 return -ENOMEM;
82
83 wax->name = "wax";
84 wax->hpa = dev->hpa;
84 wax->hpa = dev->hpa.start;
85
86 wax->version = 0; /* gsc_readb(wax->hpa+WAX_VER); */
87 printk(KERN_INFO "%s at 0x%lx found.\n", wax->name, wax->hpa);
88
89 /* Stop wax hissing for a bit */
90 wax_init_irq(wax);
91
92 /* the IRQ wax should use */

--- 48 unchanged lines hidden ---
85
86 wax->version = 0; /* gsc_readb(wax->hpa+WAX_VER); */
87 printk(KERN_INFO "%s at 0x%lx found.\n", wax->name, wax->hpa);
88
89 /* Stop wax hissing for a bit */
90 wax_init_irq(wax);
91
92 /* the IRQ wax should use */

--- 48 unchanged lines hidden ---