Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 22 Feb 1996 13:47:14 +0100
From:      root <root@spase.nl>
To:        freebsd-hackers@freebsd.org
Message-ID:  <199602221247.NAA11392@mercurius.spase.nl>

next in thread | raw e-mail | index | archive | help
>From freefall.freebsd.org!owner-freebsd-hackers  Wed Feb 21 12:46:05 1996 remote from sun4nl
Received: from ra.dkuug.dk by sun4nl.NL.net with SMTP
	id AA15194 (5.65b/CWI-3.3); Wed, 21 Feb 1996 12:46:05 +0100
Received: from freefall.freebsd.org (freefall.FreeBSD.ORG [192.216.222.4]) by ra.dkuug.dk (8.6.12/8.6.12) with ESMTP id MAA05838; Wed, 21 Feb 1996 12:06:35 +0100
Received: from localhost (daemon@localhost)
          by freefall.freebsd.org (8.7.3/8.7.3) with SMTP id XAA13470
          Tue, 20 Feb 1996 23:23:05 -0800 (PST)
Received: (from root@localhost)
          by freefall.freebsd.org (8.7.3/8.7.3) id XAA13443
          for hackers-outgoing; Tue, 20 Feb 1996 23:22:39 -0800 (PST)
Received: from relay.hp.com (relay.hp.com [15.255.152.2])
          by freefall.freebsd.org (8.7.3/8.7.3) with ESMTP id XAA13437
          for <freebsd-hackers@freebsd.org>; Tue, 20 Feb 1996 23:22:36 -0800 (PST)
Received: from fakir.india.hp.com by relay.hp.com with ESMTP
	(1.37.109.16/15.5+ECS 3.3) id AA086327338; Tue, 20 Feb 1996 23:22:27 -0800
Received: from localhost by fakir.india.hp.com with SMTP
	(1.37.109.16/15.5+ECS 3.3) id AA255777134; Wed, 21 Feb 1996 12:48:54 +0530
Message-Id: <199602210718.AA255777134@fakir.india.hp.com>
To: freebsd-hackers@freebsd.org
Subject: ISA device irq/mem auto-configuration
Date: Wed, 21 Feb 1996 12:48:53 +0530
From: A JOSEPH KOSHY <koshy@india.hp.com>
Sender: owner-hackers@freebsd.org
Precedence: bulk


This is a basic question about how we handle boards whose IRQ, I/O and
memory ranges can be autodetected at boot time.  

Consider a network card : If the kernel has been configured for say, 
IRQ 5 but the actual board was detected at IRQ 11, whats the right thing to 
do? We could :

(a) Ignore the board : this can be pretty frustrating to the user.

(b) Print out some informative message : stating something like 
    "board setup for IRQ XX but kernel was configured for YY" and leave
    it at that.  

(c) Take in the new IRQ setting somehow and do the right thing.

Option (C) seems to me to be the right thing from the users point of
view; I don't know enough of the FreeBSD kernel to tell if it is feasible.

I have seen in some places "-1" being used as a kind of "wildcard" address
in some drivers.  Is this a convention?

Can anyone point me to further reading?   Have I missed something?

Koshy



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199602221247.NAA11392>