From owner-freebsd-bugs Fri Jul 4 02:02:24 1997 Return-Path: Received: (from root@localhost) by hub.freebsd.org (8.8.5/8.8.5) id CAA17259 for bugs-outgoing; Fri, 4 Jul 1997 02:02:24 -0700 (PDT) Received: from relay.ucb.crimea.ua (ru@relay.ucb.crimea.ua [194.93.177.113]) by hub.freebsd.org (8.8.5/8.8.5) with ESMTP id CAA17227; Fri, 4 Jul 1997 02:01:26 -0700 (PDT) Received: (from ru@localhost) by relay.ucb.crimea.ua (8.8.5/8.8.5) id LAA08992; Fri, 4 Jul 1997 11:55:16 +0300 (EET DST) From: Ruslan Ermilov Message-Id: <199707040855.LAA08992@relay.ucb.crimea.ua> Subject: Re: I want to change if_sl.c SC_STATIC behaviour To: bde@freebsd.org Date: Fri, 4 Jul 1997 11:55:15 +0300 (EET DST) Cc: freebsd-bugs@freebsd.org Priority: urgent X-My-Interests: Unix,Oracle,Networking X-Mailer: ELM [version 2.4 PL24] Content-Type: text Sender: owner-bugs@freebsd.org X-Loop: FreeBSD.org Precedence: bulk Hi! > Well, I run `slattach -s 38400 /dev/cuaa0 -S 1' and what I'm see: > 1) netstat -in shows the sl0 and sl1 in reversed order. > (this is because `slopen' allocates first free element of > slsoftc[], i.e. slsoftc[0], and then, when slattach proceeds > the -S1 switch, `sltioctl(SLIOCSUNIT)' assigns to it unit 0 !!!) Sorry, my error, I meant that sltioctl(SLIOCSUNIT) assigns the unit number 1. -- Ruslan A. Ermilov System Administrator ru@ucb.crimea.ua United Commercial Bank +380-652-247 647 Simferopol, Crimea