lkml.org 
[lkml]   [2003]   [Mar]   [9]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [PATCH] EISA aic7770 broken
> Justin> Take a look in kernel/resource.c.  request_region returns
> Justin> *non-zero* if the region is already in use. The driver
> Justin> doesn't want to try and probe a region that is in use by
> Justin> another device. Your patch is incorrect.
>
> request_region returns a pointer to the newly allocated resource when
> it succeds, and NULL when it failed. It's the opposite logic
> check_region uses.

Sorry. I missread the comment in kernel/resource.c.

>
>>> But the driver crashes badly while probing the card, somewhere in
>>> ahc_runq_tasklet.
>>>
>>> Any idea ?
>
> Justin> Not without more information.
>
> Ok, what can I do ?

Define crashes badly. Driver messages or kernel panic strings typically
help.

--
Justin

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/

\
 
 \ /
  Last update: 2005-03-22 13:33    [W:0.256 / U:0.392 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site