mirror of
https://git.rtems.org/rtems-libbsd/
synced 2025-07-27 07:52:43 +08:00
Revert "Enable the Cadence cgem device syctls."
This reverts commit 9362e7649bde3d31b6f464f3184fe527b4dcb1d2. Committed white space changes.
This commit is contained in:
parent
9362e7649b
commit
591bd2d9c7
@ -1529,6 +1529,7 @@ cgem_mediachange(struct cgem_softc *sc, struct mii_data *mii)
|
||||
static void
|
||||
cgem_add_sysctls(device_t dev)
|
||||
{
|
||||
#ifndef __rtems__
|
||||
struct cgem_softc *sc = device_get_softc(dev);
|
||||
struct sysctl_ctx_list *ctx;
|
||||
struct sysctl_oid_list *child;
|
||||
@ -1701,6 +1702,7 @@ cgem_add_sysctls(device_t dev)
|
||||
SYSCTL_ADD_UINT(ctx, child, OID_AUTO, "rx_frames_udp_csum_errs",
|
||||
CTLFLAG_RD, &sc->stats.rx_udp_csum_errs, 0,
|
||||
"Number frames received with UDP checksum errors");
|
||||
#endif /* __rtems__ */
|
||||
}
|
||||
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user