augustss
03c29debf5
Make this file compile again.
1999-08-05 11:25:47 +00:00
sommerfeld
08e495eda4
Delete debug printfs from arp_drain()
1999-08-05 04:36:56 +00:00
sommerfeld
2aa9696fee
Implement arp_drain(), which frees packets tied up in the arp cache if
...
mbufs are in short supply.
Create a (trivial) protocol domain for arp so that the drain routine will
be called from m_reclaim()
1999-08-05 04:04:28 +00:00
sommerfeld
b8e4538f80
Create new pool flag PR_LIMITFAIL, indicating that even PR_WAIT
...
allocations should fail if the pool is at its hard limit.
Document flag in pool(9).
Use it in mbuf.h for the first allocate call for M_GET, M_GETHDR, and
MCLGET, so that m_reclaim gets called even for blocking allocations.
1999-08-05 04:00:03 +00:00
hubertf
c1cd535e46
Some code cleanup to collect all the usage strings in one place.
...
Asked for and reviewd by Jason thorpe.
1999-08-05 02:47:09 +00:00
thorpej
428443a130
Add some more diagnostic information to the 3 different `panic("m_copym")'
...
calls.
1999-08-05 02:24:29 +00:00
thorpej
99584ccf61
M_HASCRC -> M_HASFCS, as suggested by Christoph Badura.
1999-08-05 02:07:38 +00:00
dbj
18221f52fc
changed dma segment field "ds_read_len" to "ds_xfer_len" since it is valid for
...
either read or write transfers.
1999-08-05 01:50:59 +00:00
thorpej
191ab2b8e4
Since we have to go through fxp_init() to properly handle IFF_ALLMULTI
...
anyway, take advantage of this and greatly simplify the programming
of the multicast filter. This solves the last reported "device timeout"
problem with this driver.
1999-08-05 01:35:40 +00:00
tsubai
d633663ab8
Add mediabay.
1999-08-05 00:31:01 +00:00
thorpej
a451d97336
Fortunes from those Unamerican Activities bumper stickers you see on
...
mountain bikes owned by Gen-X'ers.
1999-08-04 22:45:09 +00:00
mycroft
f85ee5e22e
The old compaction test had an off-by-one error that caused it to not compact
...
in some cases where it could have. Fix this, and the new version as well.
1999-08-04 22:33:20 +00:00
matt
0dc0497a97
Don't compress mbuf clusters which are referenced by multiple
...
mbufs since you might overwriting valuable data. (think of
m_copy'ed data from a TCP re-transmission queue. Since those
might be in clusters and referenced in two sockets).
1999-08-04 21:40:39 +00:00
mycroft
545d8679c0
It's now possible for sbcompress() to compact mbuf clusters, so do it.
...
This helps prevent mbuf cluster exhaustion when receiving lots of small
packets.
1999-08-04 21:30:12 +00:00
tron
439a6c4942
Add missing prototype for read_tekram_eeprom() to make driver compile if
...
"options NCR_TEKRAM_EEPROM" is specified in the kernel configuration file.
Patch supplied by Hans Hoppe in PR kern/8141.
1999-08-04 20:51:31 +00:00
thorpej
b51de33f23
In ether_input(), if M_HASCRC is set, trim the CRC off the packet.
1999-08-04 19:29:01 +00:00
thorpej
3462650350
Define an Ethernet-specific flag which drivers can use to tell
...
the input routine that the CRC is included at the end of the frame.
1999-08-04 19:16:48 +00:00
ragge
128cc8e9b2
For now; don't include the devices that are not yet converted.
1999-08-04 19:15:56 +00:00
ragge
2661ddc378
smg/lkc must have "qfont".
1999-08-04 19:15:11 +00:00
ragge
d1ffb22ab2
"files" also needed.
1999-08-04 19:13:05 +00:00
ragge
1aa825ae03
Converted to (mostly) MI code.
1999-08-04 19:12:22 +00:00
ragge
bebf926694
Adopt to new BI bus design.
1999-08-04 19:11:01 +00:00
ragge
fe04287ec0
Moved to dev/bi.
1999-08-04 19:09:46 +00:00
jdolecek
eadf853bb8
define M_NTFS and use it instead of M_TEMP when allocating memory
...
for NTFS structures
1999-08-04 18:56:35 +00:00
jdolecek
419f8e4fd4
defopt NTFS_DEBUG
1999-08-04 18:46:58 +00:00
wrstuden
169a5eda2d
Pull in changes which parallel rev 1.22 -> 1.25 of ufs_lookup().
1999-08-04 18:40:47 +00:00
wrstuden
45ce38544f
Make the compiler happy..
1999-08-04 18:40:06 +00:00
jdolecek
387c0ba4b3
fix a warning
1999-08-04 18:39:08 +00:00
thorpej
810b5148c4
Need <strings.h>.
1999-08-04 18:38:12 +00:00
jdolecek
2092677df5
ntfs_lookup():
...
* return EROFS for volume mounted RO when the nameiop is DELETE or RENAME
(the same way ufs_lookup() does)
* add explicit call to cache_lookup() on NetBSD (handled by generic VFS
layer in FreeBSD)
* avoid using strncmp() when checking whether the name is . or ..
* fix locking of parent directory for ISDOTDOT case
* call cache_enter() always (even for . and ..)
* vnodeops array: add entry for vop_fcntl_desc, remove unnecessary casts
Reviewed by: wrstuden
Tested by: jdolecek
1999-08-04 18:17:00 +00:00
wrstuden
3598f580dc
Fix tyop in previous.
1999-08-04 18:14:59 +00:00
wrstuden
1eeee9e04a
Modify ISDOTDOT case so that we only clear PDIRUNLOCK if we really
...
re-lock the parent vnode.
1999-08-04 18:07:39 +00:00
ross
7886a593e3
Back out part of previous, only the parse.c mod was intended.
1999-08-04 16:44:07 +00:00
thorpej
654051453f
Use an array for PSL values, rather than individual shortwords, like
...
the hp300 port.
1999-08-04 16:01:47 +00:00
thorpej
51fe928d5e
Slight cleanup; do all of the spl*()s with imask[].
1999-08-04 15:54:28 +00:00
leo
7bff22bddc
Catch a console configuration error. Instead of jumping through cdevsw indexed
...
on major(NODEV), call panic...
1999-08-04 14:40:54 +00:00
augustss
fe98b81a44
Get the dependencies on NWSMUX right (I hope).
1999-08-04 11:26:04 +00:00
augustss
84d5e946e6
Use NMPU not NMIDI around call to mpu_intr.
1999-08-04 10:50:52 +00:00
augustss
c1c87dde4a
Add another file I forgot in my MPU changes.
1999-08-04 10:46:34 +00:00
dbj
dddabc6fbd
sync with mvme68k/mvme68k/trap.c:1.32
1999-08-04 07:18:21 +00:00
nisimura
cb6ed03a59
- Replace device node names of zskbd/zsms into lkkbd/vsms, respectively.
...
No functionality was changed at this moment.
- Apply recent changes in GENERIC to TCWSCONS.
1999-08-04 07:17:50 +00:00
dbj
677f2cf93d
fixed prototype of allocate_sir()
1999-08-04 07:14:13 +00:00
dbj
dd097da50a
remove setting of WSDISPLAY_DEFAULTSCREENS
1999-08-04 06:49:50 +00:00
thorpej
5ea625fe90
Almost completely rewrite the receive logic, making it as close as possible
...
to the EPIC/100 driver's (adjusting for the fact that Intel Ethernet chips
are from Pluto):
* Don't allocate receive buffers until the interface is actually brought
up, and release all of them if the interface is taken down.
* Add a knob (defaults to off) which will copy an incoming packet to
a single header mbuf if it is small enough to fit in one, rather than
burning an entire cluster on it. Note that this change will be mostly
moot if/when sbcompress() is changed to handle compressing clusters.
Simplify some of the receive list logic:
* Rather than using a homegrown queue and additional software RX descriptors,
use an ifqueue to queue receive buffers, and M_{GET,SET}CTX() to hook DMA
maps and receive buffers together.
Clean up a bit:
* Macroize a bunch of things to make the code a bit easier to follow.
1999-08-04 05:21:18 +00:00
simonb
4a90cd2d80
IIANM, IIANM was missing...
1999-08-04 04:26:21 +00:00
ross
0728723c31
Trivial speed hack.
1999-08-04 02:54:56 +00:00
thorpej
11e9392b3e
Only tick the MII if we are using it.
1999-08-04 00:17:28 +00:00
thorpej
0ae14b58eb
Be a little less selective in the transmit interrupt path.
1999-08-04 00:14:08 +00:00
thorpej
f1c6287a6e
Use the Interrupt bit in the command block to generate interrupts, rather
...
than interrupting after every Command Unit Not Active event.
1999-08-03 23:37:14 +00:00
thorpej
1051ab605d
G/c a flag.
1999-08-03 23:18:32 +00:00