if_sk.c (ee7b0571c2c18bdec848ed2044223cc88db29bd8) if_sk.c (1bffa9511fe94125820858b0ead796db54ac019d)
1/* $OpenBSD: if_sk.c,v 2.33 2003/08/12 05:23:06 nate Exp $ */
2
3/*-
4 * Copyright (c) 1997, 1998, 1999, 2000
5 * Bill Paul <wpaul@ctr.columbia.edu>. All rights reserved.
6 *
7 * Redistribution and use in source and binary forms, with or without
8 * modification, are permitted provided that the following conditions

--- 1482 unchanged lines hidden (view full) ---

1491 */
1492 ifp->if_capabilities |= IFCAP_VLAN_MTU;
1493 ifp->if_capenable |= IFCAP_VLAN_MTU;
1494 /*
1495 * Tell the upper layer(s) we support long frames.
1496 * Must appear after the call to ether_ifattach() because
1497 * ether_ifattach() sets ifi_hdrlen to the default value.
1498 */
1/* $OpenBSD: if_sk.c,v 2.33 2003/08/12 05:23:06 nate Exp $ */
2
3/*-
4 * Copyright (c) 1997, 1998, 1999, 2000
5 * Bill Paul <wpaul@ctr.columbia.edu>. All rights reserved.
6 *
7 * Redistribution and use in source and binary forms, with or without
8 * modification, are permitted provided that the following conditions

--- 1482 unchanged lines hidden (view full) ---

1491 */
1492 ifp->if_capabilities |= IFCAP_VLAN_MTU;
1493 ifp->if_capenable |= IFCAP_VLAN_MTU;
1494 /*
1495 * Tell the upper layer(s) we support long frames.
1496 * Must appear after the call to ether_ifattach() because
1497 * ether_ifattach() sets ifi_hdrlen to the default value.
1498 */
1499 ifp->if_data.ifi_hdrlen = sizeof(struct ether_vlan_header);
1499 ifp->if_hdrlen = sizeof(struct ether_vlan_header);
1500
1501 /*
1502 * Do miibus setup.
1503 */
1504 phy = MII_PHY_ANY;
1505 switch (sc->sk_type) {
1506 case SK_GENESIS:
1507 sk_init_xmac(sc_if);

--- 2336 unchanged lines hidden ---
1500
1501 /*
1502 * Do miibus setup.
1503 */
1504 phy = MII_PHY_ANY;
1505 switch (sc->sk_type) {
1506 case SK_GENESIS:
1507 sk_init_xmac(sc_if);

--- 2336 unchanged lines hidden ---