[lkml]   [2000]   [Oct]   [9]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
SubjectRe: [PATCH] ISA PnP (2.4.0-test9)
On Mon, 09 Oct 2000 14:35:45 +1100, 
Keith Owens <> wrote:
>Solution 2:
>struct isapnp_card_id {
> unsigned short card_vendor, card_device;
> unsigned long driver_data; /* data private to the driver */
> struct {
> unsigned short vendor, function;
> } devs[ISAPNP_CARD_DEVS]; /* logical devices */
>static int isapnp_card_devs = ISAPNP_CARD_DEVS;

Replying to my own mail. Solution 2 would not work, depmod can be run
before the kernel is booted so it is not guaranteed to have access to
exported symbols in the kernel that goes with the module. The value of
ISAPNP_CARD_DEVS must be available in the module that uses struct
isapnp_card_id or in the Go with solution 1.

To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to
Please read the FAQ at

 \ /
  Last update: 2005-03-22 12:45    [W:0.081 / U:0.032 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site