Commit Graph

17 Commits

Author SHA1 Message Date
lukem 9048aaae21 add RCSID 2001-11-13 07:48:40 +00:00
eeh b22154dd79 Make the LMC driver bus_dma and endian clean (big-endian mode does not appear
to work on LMC cards).
2001-08-27 17:47:35 +00:00
itojun 93a890b609 it seems that pp_{up,down} code does not really help, since (1) sppp_ioctl
calls lcp.{Up,Down} by itself, and (2) as lmc driver uses interrupt to
get the card initialization callback lcp calls from sppp_ioctl
does not really work.  for chdlc pp_{up,down} are not really necessary so
don't bother (#if 0'ed).
2001-07-19 19:15:13 +00:00
itojun e13c617dee do not call pp_{up,down} on cisco HDLC mode, it seems that
sys/net/if_spppsubr.c does not like it.
XXX api clarification needed...
2001-07-19 16:30:52 +00:00
itojun abd116eff5 - on IFF_UP change, inform sys/net/if_spppsubr.c of the change so that
we can run LCP and subsequent PPP negotiation.
- suppress too noisy printf() for about AIS event (if you remove the cable,
  it will bark forever).
- sppp_dequeue() can return NULL even when sppp_isempty() is false, so check
  it and do not deref NULL pointer.
- sppp_flush() on LMC interface shutdown.
- prepare to change BPF type on the fly (bpf_change_type).
2001-07-19 15:38:17 +00:00
thorpej 51e70f6731 bzero -> memset 2001-07-07 16:46:34 +00:00
thorpej 008dd21471 bcopy -> memcpy 2001-07-07 16:37:38 +00:00
wiz c03a48d64f withough -> without 2001-06-13 10:45:57 +00:00
wiz 0a600be867 receive, not recieve 2001-06-12 15:17:10 +00:00
itojun 477b193d09 support T1 card (LMC1200) properly. PR 12331 (patch from openbsd).
change DLT type to cisco HDLC, as lmc driver is hardwired to cisco HDLC
on driver attach.  XXX we may need to revisit this, as if_spppsubr may want
to alter this later.
2001-04-12 07:50:54 +00:00
martin 93c0294b72 Specify the size of the framing added to packets, so if_sppsubr.c can
calculate correct statistics.
2001-04-09 19:34:40 +00:00
thorpej cfe0892ed3 NBPG -> PAGE_SIZE 2000-11-14 18:42:55 +00:00
mrg 7c15053eed remove include of <vm/vm.h>. <vm/vm.h> -> <uvm/uvm_extern.h> 2000-06-28 16:08:42 +00:00
mrg 2f159a1bac remove/move more mach vm header files:
<vm/pglist.h> -> <uvm/uvm_pglist.h>
	<vm/vm_inherit.h> -> <uvm/uvm_inherit.h>
	<vm/vm_kern.h> -> into <uvm/uvm_extern.h>
	<vm/vm_object.h> -> nothing
	<vm/vm_pager.h> -> into <uvm/uvm_pager.h>

also includes a bunch of <vm/vm_page.h> include removals (due to redudancy
with <vm/vm.h>), and a scattering of other similar headers.
2000-06-26 14:20:25 +00:00
thorpej 5a5c88dc4e `typedef void ifnet_ret_t;' isn't valid C -- use #define, instead. Also,
don't abuse the C preprocessor.
2000-05-03 21:08:02 +00:00
ragge 6aabd4d0c2 CL* discarding. 1999-12-04 12:11:13 +00:00
explorer 0c2f5ada28 Commit files for the LAN Media Corporation high speed serial/HSSI/DS3 driver 1999-03-25 03:32:43 +00:00