NetBSD/sys/arch/alpha
thorpej fc5dafc79b Fix a rather annoying problem where the sockaddr_dl which holds
the link level name for the interface (ifp->if_sadl) is allocated
before ifp->if_addrlen is initialized, which could lead to allocating
too little space for the link level address.

Do this by splitting allocation of the link level name out of
if_attach() and into if_alloc_sadl(), which is normally called
by functions like ether_ifattach().  Network interfaces which
don't have a link-specific attach routine must call if_alloc_sadl()
themselves (example: gif).

Link level names are freed by if_free_sadl(), which can be called
from e.g. ether_ifdetach().  Drivers never need call if_free_sadl()
themselves as if_detach() will do it if it is not already done.

While here, add the ability to pass an AF_LINK address to
SIOCSIFADDR in ether_ioctl() (this is what caused me to notice
the problem that the above fixes).
2001-01-17 00:30:49 +00:00
..
a12 Fix a rather annoying problem where the sockaddr_dl which holds 2001-01-17 00:30:49 +00:00
alpha Add machdep file for procfs. Currently only used for linux-style 2001-01-17 00:07:18 +00:00
common ANSI'ify. 2001-01-03 21:40:25 +00:00
compile clean up RCS IDs 1997-08-12 06:08:21 +00:00
conf Add machdep file for procfs. Currently only used for linux-style 2001-01-17 00:07:18 +00:00
eisa #if 0 out a debugging printf. 2000-08-11 01:02:39 +00:00
include Make softclock a generic soft interrupt of the API is available, 2001-01-15 20:19:50 +00:00
isa This file is obsolsete. 2000-07-19 17:39:57 +00:00
jensenio Clean this up a little bit, and issue a Specific EOI after 2000-08-14 05:38:23 +00:00
mcbus Add in a step to actually probe for MCPCIAs. This allows us to run on 1999-11-16 18:37:24 +00:00
pci The code that creates/destroys SGMAP DMA maps is the same; put it 2001-01-03 19:15:59 +00:00
sableio Add support for the AlphaServer 2100 (Sable) and the AlphaServer 2100A 2000-12-21 20:51:53 +00:00
stand Add support for booting off RAIDframe RAID1 mirrors. 2000-09-26 05:13:36 +00:00
tc Fix typo in last commit. 2000-12-23 13:11:57 +00:00
tlsb Add some defines for TLSB interrupt mask and summary registers. Update 2000-01-27 22:27:50 +00:00
Makefile Rework the way kernel include files are installed. In the new method, 1998-06-12 23:22:30 +00:00
STYLE Make a note about option headers. 1997-09-02 13:42:49 +00:00