[parisc-linux-cvs] Change the name argument to request_mem_region in dino.c
Ryan Bradetich
rbradetich@uswest.net
Fri, 12 Oct 2001 20:53:26 -0600
--+HP7ph2BbKc20aGI
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
Here is a small patch that allows cujo to be seen properly in the /proc/iomem
entry now.
After this patch, this is what the /proc/iomem entry looks like on the C200+.
vega:~# cat /proc/iomem
00000000-5fffffff : System RAM
00000000-000009ff : PDC data (Page Zero)
00100000-0029ffff : Kernel code
002a0000-003b2c33 : Kernel data
f0190001-f0190001 : led_data
f1000000-f1000fff : Cujo
f2000000-f2000fff : Dino
f2fff000-f2fff07f : tulip
ffd00000-ffdfffff : Lasi
ffd00000-ffd00013 : reserved
ffd02800-ffd02802 : parport0
ffd04000-ffd0400c : harmony
ffd08000-ffd0800f : keyboard
ffd08100-ffd0810f : psaux
- Ryan
--+HP7ph2BbKc20aGI
Content-Type: text/plain; charset=us-ascii
Content-Disposition: attachment; filename="dino.diff"
Index: dino.c
===================================================================
RCS file: /home/cvs/parisc/linux/drivers/gsc/dino.c,v
retrieving revision 1.40
diff -u -p -r1.40 dino.c
--- dino.c 2001/10/12 06:35:44 1.40
+++ dino.c 2001/10/13 02:33:22
@@ -894,7 +894,7 @@ dino_driver_callback(struct parisc_devic
printk("%s version %s found at 0x%lx\n", name, version, dev->hpa);
- if (!request_mem_region(dev->hpa, PAGE_SIZE, "Dino HPA")) {
+ if (!request_mem_region(dev->hpa, PAGE_SIZE, name)) {
printk(KERN_ERR "DINO: Hey! Someone took my MMIO space (0x%ld)!\n",
dev->hpa);
return 1;
--+HP7ph2BbKc20aGI--