ragge
988a8d9aa1
Trying to get files out of Attic.
2001-08-16 14:55:32 +00:00
wiz
3f9984fc90
existent', not
existant'
2001-06-19 13:42:07 +00:00
lukem
d9db68b3fe
be more specific about which interlan controller the qbus/if_il supports
2001-06-13 06:40:19 +00:00
wiz
40ac848024
Fix various misspellings of compatible/compatibility.
2001-06-11 01:50:48 +00:00
ragge
01c6253206
Only use b_proc if B_PHYS is set.
2001-06-10 18:41:27 +00:00
ragge
41faed1386
Use cdev_decl() instead of local prototyping.
2001-05-26 21:24:38 +00:00
ragge
59b29023fd
Update the TS11 driver to useable state.
...
Thanks to Michael Kukat for providing a machine to test this driver.
2001-05-13 15:32:40 +00:00
ragge
f66126b9f0
Moved from sys/arch/vax/uba/.
2001-05-13 15:30:10 +00:00
ragge
637bffc245
Add bus type to softc.
2001-05-13 15:23:37 +00:00
ragge
816247df06
Add il, dmc, ts and if_uba.
2001-05-06 17:37:52 +00:00
ragge
09a79adad2
Driver for the DMC-11/DMR-11 DDCMP interface, (untested) from 4.4BSD.
2001-05-06 17:36:04 +00:00
ragge
7026635893
Driver for the Interlan NI1010 Ethernet Controller, from 4.4BSD.
2001-05-06 15:30:46 +00:00
ragge
93011fb5f6
Use if_uba + ether_ioctl routines. Removed ~150 lines of duplicated code.
2001-05-06 15:27:48 +00:00
ragge
9b9db3a6bd
Back from the dead, but now changed to use the bus_dma interface.
...
Still to do:
- ubaresets
- BDP handling
2001-05-06 15:21:44 +00:00
scw
2963ff5c58
Add l_poll' to
struct linesw' and provide an xxxpoll() entry point
...
in each tty driver to indirect through it.
This allows tty line-disciplines to handle poll(2) system calls.
2001-05-02 10:32:08 +00:00
ragge
c3736bf111
Use ubmemalloc() for data structures. Remove unused vars. KNF.
2001-04-29 12:32:18 +00:00
ragge
a7d2fe8275
Use uballoc()/ubmemalloc() for data structure allocation.
2001-04-26 20:05:46 +00:00
ragge
6bfb730eba
Use ubmemalloc() to get mapped uba memory.
...
Only copy mbufs if there are more than two in a mbuf chain (on transmit).
This squeezed another 5% out of the DEUNA. (now closing up to 100 K/s :-)
2001-04-26 19:36:07 +00:00
ragge
014984b747
Add functions to allocate mapped-in qbus memory.
2001-04-26 19:16:07 +00:00
thorpej
376be9fdf3
splimp -> spluba.
2001-04-12 20:08:09 +00:00
thorpej
63edf2e11d
Protect the call to uba_done() with spluba().
2001-04-12 20:07:40 +00:00
thorpej
ae66f2ea53
splimp -> splbio.
2001-04-12 20:05:12 +00:00
thorpej
3d6b1bec1e
splimp -> splnet
2001-04-12 20:04:24 +00:00
enami
2ceebb6c0e
Remove unnecessary test of tp->t_linesw against NULL; they are results
...
of confusion while correcting compilation error after t_line is
replaced with t_linesw.
2001-03-31 00:35:21 +00:00
ragge
511a94bf6e
Do not send looped-back setup packets into the IP stack.
...
Handle xmit interrupts due to invalid transmit list (``cannot happen'')
Shoot the one that wrote the software for those cards.
2001-02-25 13:51:11 +00:00
fvdl
d040bd5908
Return error in the case of using ODIOCGDINFO or ODIOCGDEFLABEL when
...
the number of partitions is > OLDMAXPARTITIONS. This is better
than silently truncating the label (don't want to silently throw
away partitions when using an old disklabel binary on a label with
> 8 partitions). From Enami Tsugutomo.
2001-01-08 02:03:45 +00:00
fvdl
e2d1c1f926
Adapt all disk devices in MI directories to handle ODIOC* calls
...
for ports that have bumped MAXPARTITIONS (and thus define
__HAVE_OLD_DISKLABEL).
2001-01-07 18:09:01 +00:00
ragge
9bbf84e4ca
Changes for dzkbd/dzms. This is not yet finished, but at least the
...
kernel is useable.
2000-12-30 22:11:46 +00:00
thorpej
a64a0f8137
ALTQ'ify.
2000-12-14 07:15:45 +00:00
thorpej
b84f740be0
Move bpfattach()/bpfdetach() calls into ether_ifattach()/ether_ifdetach().
2000-11-15 01:02:11 +00:00
eeh
507aaec04c
Adapt to the new line discipline scheme.
2000-11-02 00:01:44 +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
b5e0d5686e
remove include of <vm/vm.h>
2000-06-28 17:09:41 +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
ragge
cc483219bc
Must be able to compile without "mtc".
2000-06-10 19:44:55 +00:00
ragge
944b6966e9
Fix a transmit bug and get a little more out from the receive logic.
2000-06-08 19:58:49 +00:00
matt
2f85fe7adb
Adjust to new evcnt stuff.
2000-06-05 00:09:17 +00:00
matt
0bd304e528
More event counter stuff. Plus a little cruft cleanup while doing it.
2000-06-04 06:16:53 +00:00
matt
576faa0c31
Start couting interrupts.
2000-06-04 02:14:12 +00:00
ragge
16f02724d6
Some updates to the DEUNA driver:
...
- Change the transmit logic to send from a pre-allocated buffer instead
of doing DMA out of the mbufs directly. Timing shows that it takes
4 times longer to map in the mbufs via the sgmap routines instead of
just copying the data! This must be fixed sometine in the future.
- A bunch of other minor fixes.
2000-05-28 17:23:44 +00:00
thorpej
21fc65e1a8
sleep() -> tsleep()
2000-05-27 04:52:27 +00:00
thorpej
071aed40ac
A foolish consistency; most parts of the kernel use bp->b_data, so
...
change these from bp->b_un.b_addr to bp->b_data, as well. This also
allows us more flexibility to experiment with other data buffer types
hung off of struct buf.
2000-05-19 18:54:22 +00:00
bjh21
e6f1ac083f
Release dlreg.h into the public domain. It's hardly a great creative
...
work, after all.
2000-05-14 09:46:17 +00:00
ragge
e623cd6f8f
Discard these old leftovers from the IMP and trailer days!
2000-04-30 11:50:50 +00:00
ragge
6f6bea9eed
Change to use new ubareset() functionality.
2000-04-30 11:46:49 +00:00
ragge
6758522763
Add function uba_reset_establish() to register reset functions like
...
uba_intr_establish(). Basic framework for resource (BDP) allocation,
not yet finished.
2000-04-30 11:46:03 +00:00
ragge
8995505723
Rewritten (most of) the DEUNA/DELUA driver. No more data copy, packet
...
header fiddling and forget driver support for trailers.
2000-04-30 11:43:26 +00:00
ragge
11379e0ab6
Add the famous "rl" disk.
2000-04-22 16:46:45 +00:00
augustss
169ac5b3c1
Remove register declarations.
2000-03-30 12:41:09 +00:00
thorpej
fc96443d15
New callout mechanism with two major improvements over the old
...
timeout()/untimeout() API:
- Clients supply callout handle storage, thus eliminating problems of
resource allocation.
- Insertion and removal of callouts is constant time, important as
this facility is used quite a lot in the kernel.
The old timeout()/untimeout() API has been removed from the kernel.
2000-03-23 07:01:25 +00:00
ragge
520d8c032e
Waked up from the dead
2000-02-13 13:01:14 +00:00
matt
7b17d59536
Revamp the VAX interrupt handling code. Make it compatible with all the
...
other ports. Clean up some things.
2000-01-24 02:40:28 +00:00
thorpej
dc59bc1db3
Update for sys/buf.h/disksort_*() changes.
2000-01-21 23:39:55 +00:00
thorpej
cf3cdae016
iodone() -> biodone()
2000-01-18 19:53:42 +00:00
ragge
6ca9b225e7
Add a timeout-routine that checks if transmit logic dies, and reset it
...
in that case. This is not uncommon when the interface is heavy loaded.
1999-08-01 15:25:41 +00:00
ragge
e859716a79
Unused in MI code.
1999-07-12 19:47:40 +00:00
ragge
97e1165dd2
add qe and qd.
1999-06-20 18:09:22 +00:00
ragge
e0199475d8
QDSS should now work as console.
...
XXX - still vax-specific.
1999-06-20 17:58:56 +00:00
ragge
5e906a9454
Fix a erroneous malloc.
1999-06-20 17:56:29 +00:00
ragge
2c9abc499a
Copied from ../../arch/vax/uba/qfont.c,v
1999-06-20 17:55:12 +00:00
ragge
9484404e28
Copied from ../../arch/vax/include/qevent.h,v
1999-06-20 17:54:51 +00:00
ragge
e49d4f4bd3
Copied from ../../arch/vax/include/qduser.h,v
1999-06-20 17:54:27 +00:00
ragge
09b92a09e3
Copied from ../../arch/vax/include/qdreg.h,v
1999-06-20 17:54:13 +00:00
ragge
08e6c30baa
Copied from ../../arch/vax/include/qdioctl.h,v
1999-06-20 17:53:53 +00:00
ragge
6f0df397d0
Copied from ../../arch/vax/uba/qd.c,v
1999-06-20 17:53:33 +00:00
ragge
3ccbec3742
Totally rewritten DEQNA device driver, that uses the bus.h interface
...
instead. This almost doubled the receive speed of the interface :-)
1999-06-20 00:04:47 +00:00
ragge
92d41a0675
Copied from ../../arch/vax/if/if_uba.c,v
1999-06-06 20:45:21 +00:00
ragge
0f8d40c444
Copied from ../../arch/vax/if/if_uba.h,v
1999-06-06 20:45:02 +00:00
ragge
2778cc9866
Copied from ../../arch/vax/if/if_qereg.h,v
1999-06-06 19:27:06 +00:00
ragge
8237a141e5
Copied from ../../arch/vax/if/if_qe.c,v
1999-06-06 19:26:44 +00:00
ragge
a2692d780b
Fix map register/DMA wait queues.
...
Still to do:
BDP handling. Currently missing.
Ubareset's won't work at all.
1999-06-06 19:14:48 +00:00
ragge
206d37083c
Copied from ../../arch/vax/uba/uda.c,v
1999-05-29 17:03:17 +00:00
ragge
542c5517c5
The DHU code changed to use bus_space.
...
XXX - still need to use bus_dma.
1999-05-28 20:17:29 +00:00
ragge
545a67b8d9
Copied from ../../arch/vax/uba/dhureg.h,v
1999-05-28 18:56:57 +00:00
ragge
c0777d0846
Copied from ../../arch/vax/uba/dhu.c,v
1999-05-28 18:56:41 +00:00
ragge
50b4144943
Moved from ../dec/qbus/ubavar.h,v
1999-05-27 16:04:48 +00:00
ragge
72cc499b27
Moved from ../dec/qbus/ubareg.h,v
1999-05-27 16:04:27 +00:00
ragge
466e9982c9
Moved from ../dec/qbus/uba.c,v
1999-05-27 16:04:13 +00:00
ragge
3a1ea0ce2f
Moved from ../dec/qbus/files.uba,v
1999-05-27 16:03:57 +00:00
ragge
a9f8e269bc
Moved from ../dec/qbus/dzvar.h,v
1999-05-27 16:03:41 +00:00
ragge
fad3ee0de4
Moved from ../dec/qbus/dzreg.h,v
1999-05-27 16:03:13 +00:00
ragge
ca5b486e0b
Moved from ../dec/qbus/dz_uba.c,v
1999-05-27 16:02:50 +00:00
ragge
4da3a5fea9
Moved from ../dec/qbus/dz.c,v
1999-05-27 16:02:32 +00:00
ragge
e9a34e1482
Moved from ../dec/qbus/dlreg.h,v
1999-05-27 16:02:04 +00:00
ragge
1506452890
Moved from ../dec/qbus/dl.c,v
1999-05-27 16:00:45 +00:00