Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 3 Jun 2000 16:00:03 -0700 (PDT)
From:      Peter Much <peter@citylink.dinoex.sub.org>
To:        freebsd-bugs@FreeBSD.org
Subject:   kern/18994: PCMCIA sio will happily attach to a used irq line
Message-ID:  <200006032300.QAA07688@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

The following reply was made to PR kern/18994; it has been noted by GNATS.

From: Peter Much <peter@citylink.dinoex.sub.org>
To: FreeBSD-gnats-submit@freebsd.org
Cc:  
Subject: kern/18994: PCMCIA sio will happily attach to a used irq line
Date: Sat, 3 Jun 2000 20:37:42 +0200 (CEST)

 >Number:         18994
 >Category:       kern
 >Synopsis:       PCMCIA sio will happily attach to a used irq line
 >Confidential:   no
 >Severity:       non-critical
 >Priority:       low
 >Responsible:    freebsd-bugs
 >State:          open
 >Quarter:        
 >Keywords:       
 >Date-Required:
 >Class:          sw-bug
 >Submitter-Id:   current-users
 >Arrival-Date:   Sat Jun 03 15:00:02 PDT 2000
 >Closed-Date:
 >Last-Modified:
 >Originator:     Peter Much
 >Release:        FreeBSD 4.0-RELEASE i386
 >Organization:
 n/a
 >Environment:
 
 	Any PCMCIA card containing a standard sio interface, e.g.
         modem cards.
 
 >Description:
 
 	If the irq line that is defined in /etc/pccard.conf
         for that card is already in use by some other device,
         the sio driver will nevertheless attach the card to
         that irq line - or so it seems at last.
 
 >How-To-Repeat:
 
 	define irq 8 (that's rtc) in /etc/pccard.conf for 
         some modem card, restart pccardd and plug the card
         in. 
         This will be accepted, and the card will work (somehow
         at least...)
 
 >Fix:
 
 	In sys/isa/sio.c, right at the end of sioattach(), 
         the irq line is given to bus_alloc_resource(). If 
 	this succeeds, BUS_SETUP_INTR() is called. If it does
         not succeed, nothing is done and sioattach returns
         successfully. This should be changed.
 
 
 >Release-Note:
 >Audit-Trail:
 >Unformatted:
 
 
 To Unsubscribe: send mail to majordomo@FreeBSD.org
 with "unsubscribe freebsd-bugs" in the body of the message
 
 


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?200006032300.QAA07688>