Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 18 Apr 1999 09:57:20 +0100 (BST)
From:      Doug Rabson <dfr@nlsystems.com>
To:        Alex Zepeda <garbanzo@hooked.net>
Cc:        current <current@freebsd.org>
Subject:   Re: newbus and modem(s)
Message-ID:  <Pine.BSF.4.05.9904180956410.85882-100000@herring.nlsystems.com>
In-Reply-To: <Pine.BSF.4.05.9904172248010.18979-100000@zippy.dyn.ml.org>

next in thread | previous in thread | raw e-mail | index | archive | help

On Sat, 17 Apr 1999, Alex Zepeda wrote:

> I'm as excited as anyone to see progress, especially if it means the
> ability to modularize the kernel and load various drivers on demand.  But,
> alas, it seems this whole thing was rushed horribly.
> 
> The first thing I noticed was the panic I got, in atkbd_isa_intr, which
> has since been fixed.
> 
> But once I got my system booted, I noticed that it didn't detect my PnP
> modem (a quick check revealed that the PnP code was #if 0'd out).  So, I
> tried my external modem, which worked.  But in the process of downloading
> email, I got about 5 sio overflows.  I've left my box up for a few days
> and rebuilt world while downloading stuff, and only gotten around one or
> two overflows.
> 
> I looked at un #ifdef'n the PnP code, but some things seem to have changed
> substantially.  Where is there any documentation on how to un-butcher
> drivers or even "properly" fix them?
> 
> Sure it looks like the pcm driver works and works with the PnP code but it
> uses the "shims".

I'm not sure about pnp but this patch should fix the overflows (not
tested):

Index: sio.c
===================================================================
RCS file: /home/ncvs/src/sys/isa/sio.c,v
retrieving revision 1.224
diff -u -r1.224 sio.c
--- sio.c	1999/04/17 01:02:27	1.224
+++ sio.c	1999/04/18 08:53:36
@@ -349,7 +349,7 @@
 static driver_t sio_driver = {
 	driver_name,
 	sio_methods,
-	DRIVER_TYPE_TTY,
+	DRIVER_TYPE_TTY|DRIVER_TYPE_FAST,
 	sizeof(struct com_s),
 };
 

--
Doug Rabson				Mail:  dfr@nlsystems.com
Nonlinear Systems Ltd.			Phone: +44 181 442 9037




To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-current" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.BSF.4.05.9904180956410.85882-100000>