Linux-kernel mailing list archive 1999-36,: Re: PATCH: PnP detection in serial.c

# Re: PATCH: PnP detection in serial.c

Joseph Pranevich (jpranevich@lycos.com)
Tue, 07 Sep 1999 11:12:47 -0400

- Messages sorted by: [ date ][ thread ][ subject ][ author ]
- Next message: Jamie Lokier: "Re: Problem allocating DMA memory"
- Previous message: Benjamin LaHaise: "Re: Athlon (K7) and X = crash"
- Maybe in reply to: Joe Pranevich: "PATCH: PnP detection in serial.c"

Hello,

Drat. Incomplete patch. The other change that I missed was to
include/linux/pci.h which I added definitions for those structs. I'll
get that sent out later today with a little bit of cleanup and whatnot.

Joe

Albert Cranford wrote:
>
> Joe Pranevich wrote:
> >
> > Hello,
> >
> > Apologies for using this address. My normal one is on a different computer
> > and I seem to have forgotten my password. Responses here are okay though.
> > (But cc: jpranevich@linuxtoday.com)
> >
> > I have written a quick hack of sorts to the serial driver (serial.c) to
> > support autodetection of PnP boards. I have tested it on my mnachine,
>
> Nogo with 2.3.17. What release are you on? I can't find struct isapnp_board
> anywheres in linux.
>
> serial.c:3922: elements of array `isapnp_boards' have incomplete type
> serial.c:3926: warning: excess elements in struct initializer
> serial.c:3926: warning: (near initialization for `isapnp_boards[0]')
> serial.c:3927: warning: excess elements in struct initializer
> serial.c:3927: warning: (near initialization for `isapnp_boards[0]')
> serial.c:3928: warning: excess elements in struct initializer
> serial.c:3928: warning: (near initialization for `isapnp_boards[0]')
> serial.c:3929: warning: excess elements in struct initializer
> serial.c:3929: warning: (near initialization for `isapnp_boards[1]')
> serial.c:3930: invalid use of undefined type `struct isapnp_board'
> serial.c: In function `probe_serial_isapnp':
> serial.c:3962: invalid use of undefined type `struct isapnp_board'
> serial.c:3964: invalid use of undefined type `struct isapnp_board'
> serial.c:3965: invalid use of undefined type `struct isapnp_board'
> serial.c:3967: warning: int format, pointer arg (arg 2)
> serial.c:3975: invalid use of undefined type `struct isapnp_board'
> serial.c:3976: invalid use of undefined type `struct isapnp_board'
> serial.c:3978: warning: int format, pointer arg (arg 2)
> serial.c:4014: invalid use of undefined type `struct isapnp_board_inst'
> serial.c:4015: invalid use of undefined type `struct isapnp_board'
> serial.c:4016: invalid use of undefined type `struct isapnp_board_inst'
> serial.c:3948: warning: unused variable `base_idx'
> serial.c:3944: warning: unused variable `board'
> serial.c:3943: warning: unused variable `k'
> serial.c: At top level:
> serial.c:297: storage size of `serial_isapnp_board' isn't known
> make[3]: *** [serial.o] Error 1
>
> --
> Albert Cranford Deerfield Beach FL USA
> ac9410@bellsouth.net

-
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/

- Next message: Jamie Lokier: "Re: Problem allocating DMA memory"
- Previous message: Benjamin LaHaise: "Re: Athlon (K7) and X = crash"
- Maybe in reply to: Joe Pranevich: "PATCH: PnP detection in serial.c"