Date: Sun, 7 May 2000 17:24:47 +0900 (JST) From: sanpei@sanpei.org To: FreeBSD-gnats-submit@freebsd.org Cc: imp@FreeBSD.org Subject: i386/18431: [Patch] always probe and attach sn driver on isa bus without card. Message-ID: <200005070824.RAA02248@lavender.yy.cs.keio.ac.jp>
next in thread | raw e-mail | index | archive | help
>Number: 18431 >Category: i386 >Synopsis: [Patch] always probe and attach sn driver >Confidential: no >Severity: serious >Priority: medium >Responsible: freebsd-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Sun May 07 01:30:00 PDT 2000 >Closed-Date: >Last-Modified: >Originator: MIHIRA Yoshiro >Release: FreeBSD 5.0-CURRENT i386 >Organization: Yokohama, Japan. >Environment: >Description: With GENERIC kernel, if I don't have any sn ethernet card on isa bus, sn device was always attached like this. sn0 at port 0x300-0x30f irq 10 on isa0 Because, if_sn_isa.c has bug(I think we could never probe sn driver on isa bus....) I hope to fix this problem. Cheers >How-To-Repeat: >Fix: --- sys/dev/sn/if_sn_isa.c.org Sun May 7 11:51:03 2000 +++ sys/dev/sn/if_sn_isa.c Sun May 7 11:50:40 2000 @@ -63,8 +63,8 @@ if (isa_get_logicalid(dev)) /* skip PnP probes */ return (ENXIO); if (sn_probe(dev, 0) != 0) - return (0); - return (ENXIO); + return (ENXIO); + return (0); } static int >Release-Note: >Audit-Trail: >Unformatted: To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-bugs" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200005070824.RAA02248>