Date: Sat, 28 Aug 1999 10:53:32 +0200 From: "Martin Husemann" <martin@rumolt.teuto.de> To: "Bert Driehuis" <bert_driehuis@nl.compuware.com> Cc: <freebsd-isdn@FreeBSD.ORG> Subject: RE: isic0 not found at 0x340 Message-ID: <NCBBKMPDNDDMCAGNFNDIGEEHCIAA.martin@rumolt.teuto.de> In-Reply-To: <37C56F8B.D9C223DF@nl.compuware.com>
next in thread | previous in thread | raw e-mail | index | archive | help
> I'm not confident a user can configure, say, both a Teles S0/8 and a > Teles S0/16.3 and expect autoconfiguration to work it out. The 16.3 probe should fail with a different card (or no card at all). The S0/8 probe is non-existing, if you have such a card, please write one! I would try to check some initial values after reset (there are a few that Siemens guarantees to have certain values). A non existent card will probably deliver 0xff for all registers on most mainboards. This probe doesn't need to be realy strong. My original design was: let the user specify the right configuration for his cards (i.e.: everything he jumpers) and let the code figure out the rest. If you don't have ISA memory specified in your kernel, you can't have a S0/8 card. This works well and was easy to implement. It solves the common case of just a single ISDN card. Later Gary added #ifdefs to keep the kernel slightly smaller, so probes for non supported cards will not even be tried. The additional "flags" value just adds redundant information in this case (only on card compiled in). Martin To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-isdn" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?NCBBKMPDNDDMCAGNFNDIGEEHCIAA.martin>