| To: | Cacophonix <cacophonix@xxxxxxxxx> |
|---|---|
| Subject: | Re: [PATCH] hp100 -- fixes for new probing. |
| From: | Stephen Hemminger <shemminger@xxxxxxxx> |
| Date: | Tue, 24 Feb 2004 17:07:00 -0800 |
| Cc: | netdev@xxxxxxxxxxx |
| In-reply-to: | <20040224233602.36835.qmail@web14004.mail.yahoo.com> |
| Organization: | Open Source Development Lab |
| References: | <20040223094925.344bc73d@dell_ss3.pdx.osdl.net> <20040224233602.36835.qmail@web14004.mail.yahoo.com> |
| Sender: | netdev-bounce@xxxxxxxxxxx |
Does fix the problem? it checks for card before proceeding in hp100_isa_probe
diff -Nru a/drivers/net/hp100.c b/drivers/net/hp100.c
--- a/drivers/net/hp100.c Tue Feb 24 17:05:54 2004
+++ b/drivers/net/hp100.c Tue Feb 24 17:05:54 2004
@@ -333,6 +333,11 @@
if (!request_region(addr, HP100_REGION_SIZE, "hp100"))
goto err;
+
+ if (hp100_inw(HW_ID) != HP100_HW_ID_CASCADE) {
+ release_region(addr, HP100_REGION_SIZE);
+ goto err;
+ }
sig = hp100_read_id(addr);
release_region(addr, HP100_REGION_SIZE);
|
| <Prev in Thread] | Current Thread | [Next in Thread> |
|---|---|---|
| ||
| Previous by Date: | [patch 2.6.3] pcnet32 non-mii link state fix, Don Fry |
|---|---|
| Next by Date: | Default protocol for raw sockets, Ian Wienand |
| Previous by Thread: | Re: [PATCH] hp100 -- fixes for new probing., Cacophonix |
| Next by Thread: | Re: [PATCH] hp100 -- fixes for new probing., Cacophonix |
| Indexes: | [Date] [Thread] [Top] [All Lists] |