Home | History | Annotate | Download | only in net
History log of /src/sys/net/if_arc.h
RevisionDateAuthorComments
 1.23  23-Oct-2017  msaitoh If if_attach() failed in the attach function, return.
 1.22  20-Feb-2008  matt branches: 1.22.54; 1.22.90;
s/u_\(int[0-9]*_t\)/u\1/g
(change u_int*_t to uint*_t)
 1.21  25-Dec-2007  he Convert to using if_set_sadl() instead of arc_storelladdr(), catching
an overlooked setting of ifnet->if_sadl. This follows up the recent
change to net/if.h.
 1.20  25-Dec-2007  perry Convert many of the uses of __attribute__ to equivalent
__packed, __unused and __dead macros from cdefs.h
 1.19  14-Dec-2005  christos branches: 1.19.46; 1.19.52; 1.19.56; 1.19.60;
argument type conflict.
 1.18  11-Dec-2005  thorpej ANSI function decls and application of static.
 1.17  10-Dec-2005  elad Multiple inclusion protection, as suggested by christos@ on tech-kern@
few days ago.
 1.16  26-Feb-2005  perry branches: 1.16.4;
nuke trailing whitespace
 1.15  07-Aug-2003  agc branches: 1.15.8; 1.15.10;
Move UCB-licensed code from 4-clause to 3-clause licence.

Patches provided by Joel Baker in PR 22364, verified by myself.
 1.14  13-May-2002  matt branches: 1.14.10;
Eliminate common.
 1.13  19-Nov-1999  thorpej branches: 1.13.6; 1.13.8;
Add the `packed' attribute to structures which describe wire protocol
data formats.
 1.12  25-Sep-1999  is branches: 1.12.2; 1.12.8;
Decouple IP mtu for ARCnet devices from interface MTU.
This is important, because for most protocols, link level fragmentation is
used, but with different default effective MTUs. (e.g.: IPv4 default MTU
is 1500 octets, IPv6 default MTU is 9072 octets).
 1.11  27-Aug-1999  is Factor out arc_storelladdr(), and use that instead of arc_ifattach() in
the bah_reset() function.
This makes the last change work without deconnecting all the other interfaces
from the interface list.
 1.10  20-May-1999  thorpej Oops, commit here slipped through the cracks.
 1.9  25-Feb-1999  is branches: 1.9.4;
So... after all, the ATA878.2 copy I had was buggy. The newer revision has
this fixed in the figures (but still not in the text); anyway, the intention
of the ATA is that this is identical to the PHDS specification.
Remove the ...EXC_8782 constant, and change the _EXC_1201 constant to be
a simple ...EXC.
 1.8  16-Jan-1999  is - define protocol type for diagnostics (0x80 as per ANSI 878.1)
- define protocol type for IP version 6
- define length of exceptional length packets for both RFC 1201-style and
ATA 878.2-style fragmentation.
 1.7  09-Feb-1998  perry branches: 1.7.6;
add multiple inclusion protection (and cleanup).
 1.6  15-Mar-1997  is New ARP system, supports IPv4 over any hardware link.

Some of the stuff (e.g., rarpd, bootpd, dhcpd etc., libsa) still will
only support Ethernet. Tcpdump itself should be ok, but libpcap needs
lot of work.

For the detailed change history, look at the commit log entries for
the is-newarp branch.
 1.5  07-Jun-1995  cgd branches: 1.5.8;
update from Ignatios Souvatzis
 1.4  14-Apr-1995  chopps update arc_input() proto to match reality.
 1.3  29-Mar-1995  briggs KERNEL -> _KERNEL
 1.2  02-Mar-1995  chopps add prototypes
 1.1  23-Feb-1995  glass preliminary arcnet support. uses lame but RFC address resolution
 1.5.8.2  09-Mar-1997  is netinet/if_ether.h -> netinet/if_inarp.h
 1.5.8.1  08-Feb-1997  is Extinguish the link level address from struct arccom, too.
XXX Todo: change this in the hardware driver.
 1.7.6.1  11-Dec-1998  kenh The beginnings of interface detach support. Still some bugs, but mostly
works for me.

This work was originally by Bill Studenmund, and cleaned up by me.
 1.9.4.1  21-Jun-1999  thorpej Sync w/ -current.
 1.12.8.1  27-Dec-1999  wrstuden Pull up to last week's -current.
 1.12.2.1  20-Nov-2000  bouyer Update thorpej_scsipi to -current as of a month ago
 1.13.8.1  23-Jun-2002  jdolecek catch up with -current on kqueue branch
 1.13.6.1  20-Jun-2002  nathanw Catch up to -current.
 1.14.10.5  11-Dec-2005  christos Sync with head.
 1.14.10.4  04-Mar-2005  skrll Sync with HEAD.

Hi Perry!
 1.14.10.3  21-Sep-2004  skrll Fix the sync with head I botched.
 1.14.10.2  18-Sep-2004  skrll Sync with HEAD.
 1.14.10.1  03-Aug-2004  skrll Sync with HEAD
 1.15.10.1  19-Mar-2005  yamt sync with head. xen and whitespace. xen part is not finished.
 1.15.8.1  29-Apr-2005  kent sync with -current
 1.16.4.3  27-Feb-2008  yamt sync with head.
 1.16.4.2  21-Jan-2008  yamt sync with head
 1.16.4.1  21-Jun-2006  yamt sync with head.
 1.19.60.1  02-Jan-2008  bouyer Sync with HEAD
 1.19.56.1  26-Dec-2007  ad Sync with head.
 1.19.52.1  18-Feb-2008  mjf Sync with HEAD.
 1.19.46.2  23-Mar-2008  matt sync with HEAD
 1.19.46.1  09-Jan-2008  matt sync with HEAD
 1.22.90.1  10-Dec-2017  snj Pull up following revision(s) (requested by msaitoh in ticket #427):
sys/arch/amiga/dev/if_bah_zbus.c: 1.17
sys/arch/arm/broadcom/bcm53xx_eth.c: 1.30
sys/arch/powerpc/booke/dev/pq3etsec.c: 1.32
sys/arch/usermode/dev/if_veth.c: 1.9
sys/dev/ic/an.c: 1.66
sys/dev/ic/athn.c: 1.17
sys/dev/ic/atw.c: 1.162
sys/dev/ic/bwi.c: 1.33
sys/dev/ic/dwc_gmac.c: 1.41-1.42
sys/dev/ic/malo.c: 1.10
sys/dev/ic/rt2560.c: 1.31
sys/dev/ic/rt2661.c: 1.36
sys/dev/ic/rt2860.c: 1.29
sys/dev/ic/rtw.c: 1.127
sys/dev/ic/rtwvar.h: 1.46
sys/dev/ic/smc90cx6.c: 1.71
sys/dev/ic/smc90cx6var.h: 1.12
sys/dev/ic/wi.c: 1.244
sys/dev/pci/if_ipw.c: 1.66
sys/dev/pci/if_iwi.c: 1.104
sys/dev/pci/if_iwm.c: 1.76
sys/dev/pci/if_iwn.c: 1.86
sys/dev/pci/if_rtwn.c: 1.13
sys/dev/pci/if_wm.c: 1.541
sys/dev/pci/if_wpi.c: 1.79
sys/dev/pci/ixgbe/ixgbe.c: 1.106
sys/dev/pci/ixgbe/ixv.c: 1.73 via patch
sys/dev/pcmcia/if_malo_pcmcia.c: 1.15
sys/dev/scsipi/if_se.c: 1.95
sys/dev/usb/if_upl.c: 1.60
sys/net/if.c: 1.396
sys/net/if.h: 1.241
sys/net/if_arc.h: 1.23
sys/net/if_arcsubr.c: 1.78
sys/net/if_bridge.c: 1.136-1.137
sys/net/if_etherip.c: 1.39
sys/net/if_faith.c: 1.56
sys/net/if_gif.c: 1.131
sys/net/if_loop.c: 1.96
sys/net/if_mpls.c: 1.30
sys/net/if_pppoe.c: 1.129
sys/net/if_srt.c: 1.27
sys/net/if_stf.c: 1.102
sys/net/if_tap.c: 1.100
sys/net/if_vlan.c: 1.105
sys/netinet/ip_carp.c: 1.91
sys/rump/net/lib/libshmif/if_shmem.c: 1.73-1.74
sys/rump/net/lib/libvirtif/if_virt.c: 1.55-1.56
if_initalize() and if_attach() failed when resource allocation failed
(e.g. allocating softint). Without this change, it panics. It's bad because
resource shortage really occured when a lot of pseudo interface is created.
To avoid this problem, don't panic and change return value of if_initialize()
and if_attach() to int. Caller fanction will be recover from error cleanly by
checking the return value.
Return if bah_attach_subr() failed.
If if_attach() failed in the attach function, return.
- If if_initialize() failed in the attach function, free resources and return.
- Add some missing frees in bridge_clone_destroy().
- KNF
If error occured in bcmeth_ccb_attach(), free resources and return.
If error occured in pq3etsec_attach(), free resources and return.
If error occured in the attach function, free resources and return.
- If if_initialize() failed in athn_attach(), free resources and return.
- Add missing pmf_event_deregister() in athn_detach().
- Free resources correctly on some errors in atw_attach().
- Use apint*() insread of printf() in the attach function.
If if_initialize() failed in the attach function, return.
- If if_initialize() failed in the attach function, free resources and return.
- Add missing dwc_gmac_free_dma_rings() and mutex_destroy() when attach
failed.
- If if_initialize() failed in the attach function, free resources and return.
- ifp is always not NULL in iwi_detach(). Check correctly with ifp->if_softc.
- If if_initialize() failed in the attach function, free resources and return.
- Fix error path in the attach function correctly.
If if_initialize() failed in the attach function, free resources and return.
If if_attach() failed in the attach function, free resources and return.
- If if_initialize() failed in the attach function, free resources and return.
- KNF
- If if_attach() failed in the attach function, free resources and return.
- KNF
Fix compile error.
Fix compile error.
We don't need '&mii', but just 'mii' for mii_detach().
Don't free sc_rthash twice
 1.22.54.1  03-Dec-2017  jdolecek update from HEAD

RSS XML Feed