From: Geert U. <ge...@li...> - 2000-08-03 13:06:08
|
On Wed, 2 Aug 2000 fh...@at... wrote: > In <Pine.LNX.4.10.10008021413270.427-100000@cassiopeia.home>, on 08/02/00 > at 02:14 PM, Geert Uytterhoeven <ge...@li...> said: > > >And it does show up in /proc/bus/zorro (lszorro) with the same ID? > >/proc/bus/zorro/devices contains a line with 13890600 in the 2nd column? > > This is the output from cat /proc/bus/zorro etc. > > I can't see any discrepancies. Can you? > > amiga1:/usr/src/linux/drivers/char# cat /proc/bus/zorro/devices > 00 13890600 00e90000 00010000 c1 Hmm... Then I don't see what's wrong... Can you add debug code to zorro_find()? Oh, I just notice you're using 2.2.x and not 2.[34].x? Are you working on a modular driver? If yes, you perhaps once did find the board and called zorro_config_board() without a matching call to zorro_unconfig_board()? If that happens, the board is still marked busy and zorro_find() won't find it anymore. You can In 2.[34].x, you should use zorro_find_device() and {request,release}_mem_region() to mark the board busy. Then it'll also show up in /proc/iomem. BTW, I'm interested in your /proc/iomem anyway since I never saw it for a box with more than 1 Zorro board (I have the Ariadne only). Gr{oetje,eeting}s, Geert -- Geert Uytterhoeven -- There's lots of Linux beyond ia32 -- ge...@li... In personal conversations with technical people, I call myself a hacker. But when I'm talking to journalists I just say "programmer" or something like that. -- Linus Torvalds |