From owner-freebsd-hackers Thu Apr 13 15:45:36 2000 Delivered-To: freebsd-hackers@freebsd.org Received: from auemail2.firewall.lucent.com (auemail2.lucent.com [192.11.223.163]) by hub.freebsd.org (Postfix) with ESMTP id 2BF0737B900 for ; Thu, 13 Apr 2000 15:45:31 -0700 (PDT) (envelope-from gcorcoran@lucent.com) Received: from auemail2.firewall.lucent.com (localhost [127.0.0.1]) by auemail2.firewall.lucent.com (Pro-8.9.3/8.9.3) with ESMTP id SAA13270 for ; Thu, 13 Apr 2000 18:45:30 -0400 (EDT) Received: from mhmail.mh.lucent.com (h135-3-115-8.lucent.com [135.3.115.8]) by auemail2.firewall.lucent.com (Pro-8.9.3/8.9.3) with ESMTP id SAA13262; Thu, 13 Apr 2000 18:45:29 -0400 (EDT) Received: from lucent.com by mhmail.mh.lucent.com (8.8.8+Sun/EMS-1.5 sol2) id SAA23587; Thu, 13 Apr 2000 18:45:27 -0400 (EDT) Message-ID: <38F64FAF.4D3BEAEF@lucent.com> Date: Thu, 13 Apr 2000 18:52:31 -0400 From: "Gary T. Corcoran" Organization: Lucent Microelectronics - Client Access Broadband Systems X-Mailer: Mozilla 4.06 [en] (Win98; U) MIME-Version: 1.0 To: Warner Losh Cc: FreeBSD Hackers Subject: Re: Setting device options References: <38F63C11.860C901B@lucent.com> <200004132232.QAA48521@harmony.village.org> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG Warner, > Two options. > > Once is that you can get hints, the other is that you can get > environment variables. The third is to have sysctls, but those can't > be set until after the driver has finished loading. Which one do you > want me to talk about? I'm sorry, but I don't know what "hints" are. Can you briefly explain (to start)? As to sysctls, not available until after driver loading: I believe that I need to know, before I reach the end of my attach routine, whether I'm going to be in a LAN mode or a WAN mode, so I know whether to do an ether_attach() or an sppp_attach(). So does that rule out sysctls? Thanks, Gary To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message