From owner-freebsd-isdn Mon Aug 30 3:41: 3 1999 Delivered-To: freebsd-isdn@freebsd.org Received: from linteuto.teuto.de (temp-mail.teuto.de [194.77.23.26]) by hub.freebsd.org (Postfix) with ESMTP id 37B9A156FB for ; Mon, 30 Aug 1999 03:40:27 -0700 (PDT) (envelope-from martin@rumolt.teuto.de) Received: from rumolt.teuto.de (IDENT:root@rumolt.teuto.de [212.8.203.81]) by linteuto.teuto.de (8.9.3/8.9.3) with ESMTP id LAA21432; Sat, 28 Aug 1999 11:20:47 +0200 Received: from martins (hwart.teuto.de [212.8.203.83]) by rumolt.teuto.de (8.8.8/8.8.7) with SMTP id KAA03301; Sat, 28 Aug 1999 10:53:33 +0200 (MEST) From: "Martin Husemann" To: "Bert Driehuis" Cc: Subject: RE: isic0 not found at 0x340 Date: Sat, 28 Aug 1999 10:53:32 +0200 Message-ID: MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Priority: 3 (Normal) X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook IMO, Build 9.0.2416 (9.0.2910.0) Importance: Normal X-MimeOLE: Produced By Microsoft MimeOLE V4.72.3110.3 In-Reply-To: <37C56F8B.D9C223DF@nl.compuware.com> Sender: owner-freebsd-isdn@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org > 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