On 28.01.10 04:09, SAITOH Masanobu wrote: > Module Name: src > Committed By: msaitoh > Date: Thu Jan 28 03:09:13 UTC 2010 > > Modified Files: > src/sys/dev/pci: if_bge.c if_bgereg.h if_bgevar.h > > Log Message: > - Introduce IPMI and ASF related code from FreeBSD. It fixes some problems > which occured in netboot on sparc64 and PR#32767 > - move the code of disabling host interrput in bge_stop() like linux tg3 > driver. > - fix the return value of bge_eeprom_getbyte(). > - remove an unused structure. > - KNF > > > To generate a diff of this commit: > cvs rdiff -u -r1.176 -r1.177 src/sys/dev/pci/if_bge.c > cvs rdiff -u -r1.54 -r1.55 src/sys/dev/pci/if_bgereg.h > cvs rdiff -u -r1.2 -r1.3 src/sys/dev/pci/if_bgevar.h > > Please note that diffs are not public domain; they are subject to the > copyright notices on the relevant files.
> > +static void > +bge_sig_pre_reset(sc, type) > + struct bge_softc *sc; > + int type; > +{ [...] > +static void > +bge_sig_post_reset(sc, type) > + struct bge_softc *sc; > + int type; > +{ [...] > + > +static void > +bge_sig_legacy(sc, type) > + struct bge_softc *sc; > + int type; > +{ [...] > + > +static void > +bge_stop_fw(sc) > + struct bge_softc *sc; > +{ Please use ANSI C function definitions. Christoph