Commit Graph

21 Commits

Author SHA1 Message Date
thorpej 52d8769e0b Use PAGE_SIZE rather than NBPG. 2003-04-01 02:01:43 +00:00
thorpej b75a007d9f Add trailing ; to CFATTACH_DECL. 2002-10-02 16:51:16 +00:00
thorpej 387fc6dc87 Use CFATTACH_DECL(). 2002-09-30 20:37:04 +00:00
thorpej f818766afe Declare all cfattach structures const. 2002-09-27 20:31:45 +00:00
matt 48d39d805c Print out interrupt we attached to. 2002-05-09 20:20:18 +00:00
martin 99772f59c4 Move net/if_sppp.h to net/if_spppvar.h, create a new net/if_sppp.h
containing the userland visible thinks (i.e. ioctl definitions).

Remove all (both) old ioctls, as they had a brain dead API and made keeping
binary compatibility more or less impossible.

Replace by several new ioctls. While there, remove any arbitrary limits
(resulting from the old, broken ioctls) and allow any length of names
and passwords.
2002-01-04 12:21:24 +00:00
lukem 9048aaae21 add RCSID 2001-11-13 07:48:40 +00:00
eeh 8949c133a4 Get rid of debug printf. 2001-08-27 22:38:34 +00:00
augustss 3346d43a5b Make it compile. 2001-08-27 22:17:29 +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 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 46909109f4 bcopy -> strcpy 2001-07-07 16:39:16 +00:00
wiz c03a48d64f withough -> without 2001-06-13 10:45:57 +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
itojun 12a14b346e match T1 card. from freebsd driver, it should just work.
i'll test it as soon as i get the card handy.
2001-01-12 05:19:18 +00:00
sommerfeld 851de295eb Change pci_intr_map to get interrupt source information from a "struct
pci_attach_args *" instead of from four separate parameters which in
all cases were extracted from the same "struct pci_attach_args".

This both simplifies the driver api, and allows for alternate PCI
interrupt mapping schemes, such as one using the tables described in
the Intel Multiprocessor Spec which describe interrupt wirings for
devices behind pci-pci bridges based on the device's location rather
the bridge's location.

Tested on alpha and i386; welcome to 1.5Q
2000-12-28 22:59:06 +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
explorer 2fc0e43760 just say no to __BROKEN_INDIRECT_CONFIG 1999-05-12 22:55:14 +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