From owner-freebsd-current Mon Mar 1 11:35:31 1999 Delivered-To: freebsd-current@freebsd.org Received: from phk.freebsd.dk (phk.freebsd.dk [212.242.40.153]) by hub.freebsd.org (Postfix) with ESMTP id 0005615399 for ; Mon, 1 Mar 1999 11:35:19 -0800 (PST) (envelope-from phk@critter.freebsd.dk) Received: from critter.freebsd.dk (critter.freebsd.dk [212.242.40.131]) by phk.freebsd.dk (8.9.1/8.8.8) with ESMTP id UAA23546; Mon, 1 Mar 1999 20:34:48 +0100 (CET) (envelope-from phk@critter.freebsd.dk) Received: from critter.freebsd.dk (localhost [127.0.0.1]) by critter.freebsd.dk (8.9.2/8.9.2) with ESMTP id UAA18963; Mon, 1 Mar 1999 20:34:37 +0100 (CET) (envelope-from phk@critter.freebsd.dk) To: "Matthew N. Dodd" Cc: Nate Williams , Garrett Wollman , Bill Paul , current@FreeBSD.ORG Subject: Re: Request for review: changes to if_vlan.c In-reply-to: Your message of "Mon, 01 Mar 1999 14:00:05 EST." Date: Mon, 01 Mar 1999 20:34:37 +0100 Message-ID: <18961.920316877@critter.freebsd.dk> From: Poul-Henning Kamp Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG In message , "Matthe w N. Dodd" writes: >On Mon, 1 Mar 1999, Poul-Henning Kamp wrote: >> >> And some new PCI devices doesn't either because if_media is hopelessly >> narrowtrack for real world devices :-( > >As much as if_media sucks, it does have the ability to be extended in a >fariety of useful ways. Yes, but considering the low age of the interface, the fact that it was made so narrow-scope is a disgrace. Try to implement a E1 line with the full complement of options, including international bits and crc4 and what have you :-( It should have been done with a simple ascii string instead. The drivers are much better at chewing on it than the "generic" code, it would be simpler to understand, simpler to implement, you wouldn't need to rebuild ifconfig all the time and it would be vastly more flexible. Anyone who thinks this sounds like a replay from when I stuck my fingers in sysctl some years back are right. For some reason, some people around our camp-fire, have a hard time understanding that compiletime enumeration of potential options is a concept that died with the "VAX Handbook 1978 edition". Poul-Henning -- Poul-Henning Kamp FreeBSD coreteam member phk@FreeBSD.ORG "Real hackers run -current on their laptop." FreeBSD -- It will take a long time before progress goes too far! To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message