Re: One driver for two or more card

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Fri, Jul 12, 2002 at 01:43:14PM +0400, Kirill Messel wrote:
> I have write a driver for PCI card. But it works only with one. Is it 
> possible to change driver to use it for two card.

Kirill, if you did not use global variables in your module, it should
work out alright. If you did use global variables then you must use some
method of keeping track of N different copies of those global variables.

Every device is different; try looking at network drivers and usb
drivers -- both commonly have to deal with multiple pieces of hardware.

Good luck.

-- 
http://immunix.org/

Attachment: pgp00124.pgp
Description: PGP signature


[Index of Archives]     [Newbies FAQ]     [Linux Kernel Mentors]     [Linux Kernel Development]     [IETF Annouce]     [Git]     [Networking]     [Security]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux SCSI]     [Linux ACPI]
  Powered by Linux