HomeFreeBSD

Use the size of one bge_devs element for the MODULE_PNP_INFO macro,

Description

Use the size of one bge_devs element for the MODULE_PNP_INFO macro,
instead of the size of the whole bge_devs array.

This should stop kldxref searching beyond the end of .rodata when it
processes relocations, and emitting "unhandled relocation type" errors,
at least on i386.

Details

Provenance
dimAuthored on
Parents
rS338024: Rudimentary AER reading code for ddb(4).
Branches
Unknown
Tags
Unknown