Re: User mode drivers: part 2: PCI device handling (patch 1/2 for 2.6.11)

From: Pavel Machek
Date: Fri Mar 11 2005 - 05:36:10 EST


> >> +/* + * The PCI subsystem is implemented as yet-another pseudo
> >> filesystem, + * albeit one that is never mounted. + * This is its
> >> magic number. + */ +#define USR_PCI_MAGIC (0x12345678)
> Greg> If you make it a real, mountable filesystem, then you don't need
> Greg> to have any of your new syscalls, right? Why not just do that
> Greg> instead?
> The only call that would go is usr_pci_open() -- you'd still need
> usr_pci_map(), usr_pci_unmap() and usr_pci_get_consistent().

There are quite a lot of buses. Having to add #buses * 3 seems quite
wrong to me...
People were complaining that M$ turns users into beta-testers...
...jr ghea gurz vagb qrirybcref, naq gurl frrz gb yvxr vg gung jnl!
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at
Please read the FAQ at