Commit Graph

17 Commits

Author SHA1 Message Date
thorpej
08afcfb9bd ALTQ'ify. 2000-12-14 06:59:01 +00:00
thorpej
b84f740be0 Move bpfattach()/bpfdetach() calls into ether_ifattach()/ether_ifdetach(). 2000-11-15 01:02:11 +00:00
thorpej
7ca3fb9ef0 Move the check for "promisc + unicast + not for us" into ether_input(),
and change Ethernet drivers to always pass all received frames to
ether_input() (with a few exceptions, which are documented in the
code).
2000-10-01 23:32:39 +00:00
mrg
7e81221f5a remove include of <vm/vm.h>. <vm/vm.h> -> <uvm/uvm_extern.h> 2000-06-28 16:27:51 +00:00
thorpej
3bc7ce8d31 Cast bus_size_t to u_long for printing. 2000-02-08 18:40:51 +00:00
tron
73286f8d56 Fix printf() format string. 2000-02-08 18:31:02 +00:00
thorpej
52a2804a5c Add a new function call to the ISA DMA API: isa_dmamaxsize(), which returns
the maximum transfer size for the specified DMA channel.  Make all clients
of ISA DMA use this call to determine their maximum transfer size.
2000-02-07 22:07:27 +00:00
thorpej
f98d358a1f Rework layer 2 protocol input routines. Instead of calling e.g. ether_input()
directly, call the function pointer (*if_input)(ifp, m).  The input routine
expects the packet header to be at the head of the packet, and will adjust
as necessary.  Privatize the layer 2 input and output routines, allowing
*_ifattach() to set them up as appropriate.
1999-05-18 23:52:51 +00:00
mycroft
2f91607aff Enable this is a non-entropy rnd source. 1999-03-30 21:02:41 +00:00
thorpej
34f3cd7ce9 Use ETHER_*_LEN constants from <net/if_ether.h> instead of defining them
ourselves.
1999-03-25 23:20:22 +00:00
mycroft
5ab6a8555e Fix one last bug in the multicast filter calculation.
sdr and vic work now, at least.
1998-11-13 09:37:46 +00:00
mycroft
b8974fbf40 Fix yet another bogon in the multicast filter calculation. 1998-11-12 13:03:51 +00:00
mycroft
a6e73a5576 Actually set all the logical filter bits. Doh! 1998-08-11 05:57:40 +00:00
mycroft
271d3df6f3 Fix an obvious bug that caused the multicast filter to always be all 0s. 1998-08-11 04:18:25 +00:00
mycroft
c49235f44c Use splnet(), not splimp(). 1998-08-08 23:44:12 +00:00
thorpej
558733ffc6 Track our carrier status and report it in the media status callback. 1998-08-07 05:55:14 +00:00
thorpej
2d588abad8 Split up the Shark CS8900 driver into front-ends and core back-end (which
is here, since the chip can only live on an ISA bus; only the autoconfig
glue is different).
1998-07-27 01:08:51 +00:00