*BSD News Article 5163


Return to BSD News archive

Newsgroups: comp.unix.bsd
Path: sserve!manuel!munnari.oz.au!uunet!news.univie.ac.at!news.tu-graz.ac.at!fstgds01!chmr
From: chmr@fstgds01.tu-graz.ac.at (Christoph Robitschko)
Subject: Re: [386bsd] config bug?
Message-ID: <1992Sep17.065047.28091@news.tu-graz.ac.at>
Sender: news@news.tu-graz.ac.at (USENET News System)
Nntp-Posting-Host: fstgds01
Organization: Technical University of Graz, Austria
References: <3861@wzv.win.tue.nl>
Date: Thu, 17 Sep 92 06:50:47 GMT
Lines: 27

In article <3861@wzv.win.tue.nl> guido@wzv.win.tue.nl (Guido van Rooij) writes:
>When I run the config command, with a config file having 2 com ports
>and 1 parallel port configured, the file /sys/compile/<machinename>/com.h
>says: #define NCOM 3
>and lpt.h says #define NLPT 2
>All other devices I configured go well (i.e. NPTY 8, where my config
>file says that I have 8 ptys).
>Can anyone explain this?
>
>-Guido

This is because you have configured your com devices as:
	device com1 at ....
	device com2 at ....
So the config program reserves space for com0 (not configured), com1 and com2.
You have to configure your com devices as com0 and com1, but to do this,
you either need my patches to the com driver (select bug) or one of the
newer releases of cdg's com driver.

I think you can configure you parallel port driver as lpt0 without any patches.

Remember you also have to adjust the minor device numbers for /dev/com[12]
or create /dev/com0 (better yet).

							Christoph
-- 
signature: Illegal seek