lasi.c (bdad1f836ab1ca2b18a625222f63f630cfd14e41) lasi.c (53f01bba49938f115237fe43a261c31ac13ae5c6)
1/*
2 * LASI Device Driver
3 *
4 * (c) Copyright 1999 Red Hat Software
5 * Portions (c) Copyright 1999 The Puffin Group Inc.
6 * Portions (c) Copyright 1999 Hewlett-Packard
7 *
8 * This program is free software; you can redistribute it and/or modify

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

170 struct gsc_irq gsc_irq;
171 int ret;
172
173 lasi = kmalloc(sizeof(*lasi), GFP_KERNEL);
174 if (!lasi)
175 return -ENOMEM;
176
177 lasi->name = "Lasi";
1/*
2 * LASI Device Driver
3 *
4 * (c) Copyright 1999 Red Hat Software
5 * Portions (c) Copyright 1999 The Puffin Group Inc.
6 * Portions (c) Copyright 1999 Hewlett-Packard
7 *
8 * This program is free software; you can redistribute it and/or modify

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

170 struct gsc_irq gsc_irq;
171 int ret;
172
173 lasi = kmalloc(sizeof(*lasi), GFP_KERNEL);
174 if (!lasi)
175 return -ENOMEM;
176
177 lasi->name = "Lasi";
178 lasi->hpa = dev->hpa;
178 lasi->hpa = dev->hpa.start;
179
180 /* Check the 4-bit (yes, only 4) version register */
181 lasi->version = gsc_readl(lasi->hpa + LASI_VER) & 0xf;
182 printk(KERN_INFO "%s version %d at 0x%lx found.\n",
183 lasi->name, lasi->version, lasi->hpa);
184
185 /* initialize the chassis LEDs really early */
186 lasi_led_init(lasi->hpa);

--- 53 unchanged lines hidden ---
179
180 /* Check the 4-bit (yes, only 4) version register */
181 lasi->version = gsc_readl(lasi->hpa + LASI_VER) & 0xf;
182 printk(KERN_INFO "%s version %d at 0x%lx found.\n",
183 lasi->name, lasi->version, lasi->hpa);
184
185 /* initialize the chassis LEDs really early */
186 lasi_led_init(lasi->hpa);

--- 53 unchanged lines hidden ---