Subject: Re: Writing a PCI device driver
To: Steven Grunza <>
From: Manuel Bouyer <>
List: tech-kern
Date: 07/26/2000 21:45:35
On Wed, Jul 26, 2000 at 01:36:08PM -0400, Steven Grunza wrote:
> Hash: SHA1
> I'm at the point now where config complains about *'d devices and
> needs-count.

Then you just have to drop needs-count from the device description in
file.pci, it's not mandatory. A sane driver shouldn't use needs-count
anyway :)

> I've found the prototypes for a character device with:
> 	read
> 	write
> 	open
> 	close
> 	ioctl

Depends on what you intend to do, you may not need the read and write
routines (this is the case if you only want to talk with the driver through

Manuel Bouyer <>