Messages in this thread | | | Date | Wed, 1 Sep 1999 17:25:32 -0400 (EDT) | From | Jeff Garzik <> | Subject | Re: PATCH: Update for the serial driver. |
| |
On Wed, 1 Sep 1999, Linus Torvalds wrote: > On Wed, 1 Sep 1999, Jeff Garzik wrote: > > Tables are wonderful. I use tables to abstract small differences > > between chipsets served by a single driver. Take a look at what is done > > in recent clgenfb drivers. Tables are compact, can be marked with > > __initdata to save memory, and make extensibility very easy.
> Has anybody bothered to check the current PCI code? > > "struct pci_dev" contains the name of the PCI device [...]
Oh yeah, for clgenfb, I name by _chipset_ not by device. I cannot use the PCI data because my driver supports the same chipsets on Zorro bus as well.
Regards,
Jeff
- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.rutgers.edu Please read the FAQ at http://www.tux.org/lkml/
| |