Page MenuHomeFreeBSD

rge: remove dead code left over from the OpenBSD import
Needs ReviewPublic

Authored by chris.longros_gmail.com on Sun, Mar 8, 3:41 PM.
Referenced Files
Unknown Object (File)
Thu, Mar 12, 8:01 AM
Unknown Object (File)
Wed, Mar 11, 9:27 AM
Unknown Object (File)
Wed, Mar 11, 6:40 AM
Unknown Object (File)
Wed, Mar 11, 1:02 AM
Subscribers

Details

Reviewers
adrian
Summary

Remove several #if 0 blocks that have been dead since the initial import:

  • rge_activate() forward declaration and function body, which used OpenBSD's DVACT_POWERDOWN / struct device API
  • WOL forward declarations guarded by #ifndef SMALL_KERNEL, an OpenBSD-specific conditional that does not apply to FreeBSD
  • Commented-out PCI Express capability code that used OpenBSD's pci_get_capability() / pci_conf_read() API

None of this code could compile on FreeBSD.

Signed-off-by: Christos Longros <chris.longros@gmail.com>

Diff Detail

Repository
rG FreeBSD src repository
Lint
Lint Passed
Unit
No Test Coverage
Build Status
Buildable 71262
Build 68145: arc lint + arc unit

Event Timeline

It's in here just in case i need it when figuring out WOL. I'd much prefer we figure out WOL :P

It's in here just in case i need it when figuring out WOL. I'd much prefer we figure out WOL :P

Yeah, I thought so ...