From: Cacophonix <cacophonix@yahoo.com>
To: Stephen Hemminger <shemminger@osdl.org>
Cc: netdev@oss.sgi.com
Subject: Re: [PATCH] hp100 -- fixes for new probing.
Date: Wed, 25 Feb 2004 13:33:47 -0800 (PST) [thread overview]
Message-ID: <20040225213347.5491.qmail@web14006.mail.yahoo.com> (raw)
In-Reply-To: <20040224170700.11adc3cc@dell_ss3.pdx.osdl.net>
Yes, this fixes the lockup issue (once I renamed addr to ioaddr in hp100_isa_probe1()
to get it to compile. Thanks for the patch!
Next order of business for me is to figure out why the ordering of device recognition
of e100 and hp100 changed between 2.6.0-test* and 2.6.3-mm2 (in the former, hp100
started up first, while in the latter kernel e100 get's to load up first). I guess I
could work around this in other ways, but it's a tad disconcerting when eth0, eth1
and eth2 decide to trade places every so often ;)
Thanks again for the patch.
cheers,
karthik
--- Stephen Hemminger <shemminger@osdl.org> wrote:
> 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);
__________________________________
Do you Yahoo!?
Yahoo! Mail SpamGuard - Read only the mail you want.
http://antispam.yahoo.com/tools
next prev parent reply other threads:[~2004-02-25 21:33 UTC|newest]
Thread overview: 10+ messages / expand[flat|nested] mbox.gz Atom feed top
2004-02-23 8:48 [PATCH] hp100 -- fixes for new probing Cacophonix
2004-02-23 17:49 ` Stephen Hemminger
2004-02-24 23:36 ` Cacophonix
2004-02-25 1:07 ` Stephen Hemminger
2004-02-25 21:33 ` Cacophonix [this message]
2004-02-25 21:40 ` Stephen Hemminger
2004-02-26 18:33 ` [PATCH] hp100 -- isa probe fix Stephen Hemminger
2004-02-27 20:14 ` Jeff Garzik
-- strict thread matches above, loose matches on Subject: below --
2003-11-24 23:44 [PATCH] hp100 -- fixes for new probing Stephen Hemminger
2003-12-07 18:48 ` Jeff Garzik
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20040225213347.5491.qmail@web14006.mail.yahoo.com \
--to=cacophonix@yahoo.com \
--cc=netdev@oss.sgi.com \
--cc=shemminger@osdl.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).