*BSD News Article 40607


Return to BSD News archive

Newsgroups: comp.os.386bsd.questions
Path: sserve!newshost.anu.edu.au!harbinger.cc.monash.edu.au!news.cs.su.oz.au!metro!dmssyd.syd.dms.CSIRO.AU!megadata!andrew
From: andrew@megadata.mega.com.au (Andrew McRae)
Subject: Re: PCMIA and FreeBSD
Message-ID: <1995Jan9.235037.1969@mega.com.au>
Originator: andrew@eden
Sender: news@mega.com.au
Organization: MITS Real Time Ltd, North Ryde, Sydney, Aust.
References: <3emic0$3du@knobel.GUN.de>
Date: Mon, 9 Jan 1995 23:50:37 GMT
Lines: 99

From article <3emic0$3du@knobel.GUN.de>, by andreas@knobel.GUN.de (Andreas Klemm):
> Don B. McCasland (mccaslan@hydra1a.cs.utk.edu) wrote:
>:Well, I've read a ton of docs and have somewhere missed anything mentioning
>:this.  So, can someone point me to where I might figure out how to make my
>:14.4 pcmia modem work under FreeBSD?  I know there's a driver that you can
>:build into the kernel for a pcmia ethernet card, is there one for serial io?
>:Thanks!
>:Don McCasland       mccaslan@cs.utk.edu
> 
> Yes would really be nice if someone could sum up what pcmcia cards
> are supported and which not. A friend of mine has a canon compri and
> as far as I understood he has pcmcia ethernet and modem cards, too.
> 
> So what's the deal ? Should he wait for FreeBSD 2.1 or what do
> you suggest ? Perhaps you know the canon compri ...
> 
> andreas@knobel.gun.de	    /\/\___ Wiechers & Partner Datentechnik GmbH

Real Soon Now, I am uploading an upgraded package for FreeBSD 2.0
that should everything you need for supporting PCMCIA.

I am hoping to get the core team to accept the changes for 2.1,
and that it will be part of the next snapshot. Pkh asked me for
a snapshot before Christmas, but due to various unforeseen
circumstances I was not able to complete it.

Having now completed the 2.0 integration, I am testing the package
so watch for an announcement this week.

The README follows...

Andrew McRae			inet:	andrew@mega.com.au
MITS Real Time Ltd,		uucp:	..!uunet!mega.com.au!andrew
North Ryde  2113		Phone:	+61 2 805 0899
NSW    AUSTRALIA		Fax:	+61 2 887 4847
-------------------

PCMCIA Support for FreeBSD 2.0
------------------------------

This package contains the following:

	- Driver for Intel 83265 PCIC PCMCIA controller
	- A PCMCIA daemon for managing card insertions/removals
	- Diffs to various source files for adding PCMCIA support
	- A sample config file
	- Some utility programs for reading card data tuples
	- Some documentation.

What it doesn't include is:

	- Configuration for brand XYZ PCMCIA cards
	- Drivers for brand XYZ PCMCIA cards
	- Diffs to modify standard drivers to handle card events

Essentially, this package contains everything required to
add PCMCIA support to FreeBSD 2.0. It does this via a
daemon that manages the PCMCIA slots via a PCIC driver. A configuration
file provides the daemon with the information required to setup
the specific cards, and to manage card insertion and removal.

This package has been tested on a NEC Versa Laptop.
The first version was developed on FreeBSD 1.1.5.1.

The main idea behind the package is for pcmciad to detect
inserted cards and match to a card ID in the config file,
then set up the I/O ports and memory window to the card
according to the data for the driver associated with the
card, then attach the kernel driver to the device. Shell
commands can be executed for both insertion and removal of cards,
and different commands can be executed for different cards,
drivers and devices.

Different kernel drivers may have to have some mods
done to recognise the card once installed; I have included
some diffs to `ed' that allows recognition of a `generic'
NS8390 card.

Some minor changes were made to ifconfig(8) to allow a
different ethernet address to be assigned to a network
interface, since each card may have different locations
the ethernet address is stored in.

This is a snapshot of a release for FreeBSD 2.0. It is
basically the 1.1.5.1 release ported for 2.0. I have only
just received a developer's guide for PCMCIA, so I should
have some more stable support soon.

For instructions on installation, see INSTALL.
There is a man entry on the daemon (pcmciad.8),
and the config file (pcmcia.conf.5).

Please send mail with any bugs or new card descriptions.

Enjoy!
Andrew McRae			inet:	andrew@mega.com.au
MITS Real Time Ltd,		uucp:	..!uunet!mega.com.au!andrew
North Ryde  2113		Phone:	+61 2 805 0899
NSW    AUSTRALIA		Fax:	+61 2 887 4847