From owner-freebsd-hackers Mon Feb 5 01:22:03 1996 Return-Path: owner-hackers Received: (from root@localhost) by freefall.freebsd.org (8.7.3/8.7.3) id BAA13691 for hackers-outgoing; Mon, 5 Feb 1996 01:22:03 -0800 (PST) Received: from irz301.inf.tu-dresden.de (irz301.inf.tu-dresden.de [141.76.1.11]) by freefall.freebsd.org (8.7.3/8.7.3) with SMTP id BAA13657 Mon, 5 Feb 1996 01:21:47 -0800 (PST) Received: from sax.sax.de by irz301.inf.tu-dresden.de (8.6.12/8.6.12-s1) with ESMTP id KAA22211; Mon, 5 Feb 1996 10:21:31 +0100 Received: by sax.sax.de (8.6.11/8.6.12-s1) with UUCP id KAA07726; Mon, 5 Feb 1996 10:21:30 +0100 Received: (from j@localhost) by uriah.heep.sax.de (8.7.3/8.6.9) id KAA04348; Mon, 5 Feb 1996 10:14:21 +0100 (MET) From: J Wunsch Message-Id: <199602050914.KAA04348@uriah.heep.sax.de> Subject: Re: ep driver To: freebsd-hackers@freebsd.org (FreeBSD hackers) Date: Mon, 5 Feb 1996 10:14:20 +0100 (MET) Cc: babkin@hq.icb.chel.su (Serge A. Babkin), phk@freebsd.org (Poul-Henning Kamp) Reply-To: joerg_wunsch@uriah.heep.sax.de (Joerg Wunsch) In-Reply-To: <199602050328.IAA23078@hq.icb.chel.su> from "Serge A. Babkin" at Feb 5, 96 08:28:42 am X-Phone: +49-351-2012 669 X-Mailer: ELM [version 2.4 PL23] MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 8bit Sender: owner-hackers@freebsd.org Precedence: bulk As Serge A. Babkin wrote: > > > Could someone explain when a message like 'ep0: Status: 2002' > > occurs, that is what the status 2002 means for 3COM 3c5x9 means? > > It means "input buffer overflow". Then, why don't you write this? ;) Magic numbers instead of error messages are confusing. We once also decided to put the SCSI sense information messages into the kernel (though it's #ifdef'ed for those picky enough about space -- hey Poul, yet another thing to spare for your 4 MB kernel!). I don't think this has been a mistake, the messages proved invaluable when answering sever people's questions (including my own :). -- cheers, J"org joerg_wunsch@uriah.heep.sax.de -- http://www.sax.de/~joerg/ -- NIC: JW11-RIPE Never trust an operating system you don't have sources for. ;-)