simonb
17948e75bb
White space nits.
2005-02-26 12:45:06 +00:00
perry
18db93c7f6
de-__P
2005-02-04 02:10:35 +00:00
matt
027c11539b
Add IFNET_FOREACH and IFADDR_FOREACH macros and start using them.
2005-01-24 21:25:09 +00:00
chs
267af995b7
use the generated macros in locators.h rather than hard-coded numbers
...
to index the cf_loc[] array. reviewed by allen briggs.
2004-12-14 02:32:02 +00:00
he
6ef865c900
Include the <sys/bufq.h> header to allow these to compile again.
2004-10-31 12:52:55 +00:00
thorpej
559857f039
- qtinit(): Don't skip initialization if we're already marked RUNNING.
...
ether_ioctl() will call (*if_init)() when flags change. Instead, do
what other drivers do and stop the interface in this case before
re-initializing.
- qtioctl(): Now that qtinit() does the right thing, remove the check
for IFF_PROMISC change.
When adding/deleting multicast addresses, only whack the address
filter if the interface is marked RUNNING.
Fixes kern/27678.
2004-10-30 23:45:10 +00:00
thorpej
e9818f5b5e
When adding/deleting multicast addresses, only whack the address
...
filter if the interface is marked RUNNING.
Fixes kern/27678.
2004-10-30 18:08:34 +00:00
yamt
05f25dcc2a
move buffer queue related stuffs from buf.h to their own header, bufq.h.
2004-10-28 07:07:35 +00:00
wiz
9876532d80
Fix some typos in comments and panic()s.
2004-10-06 12:12:42 +00:00
thorpej
ecb2cb3112
Add support for wedges to the RL01/RL02 disk driver.
...
XXX Can't do autodiscovery here, since we can't do I/O in rlattach().
2004-09-25 16:27:38 +00:00
drochner
27a661f0fb
use interface attribute / locator passing versions
...
of config_search()
2004-09-08 20:13:52 +00:00
wiz
6e05316faa
Remove UCB ad clause in Hugh Graham's license.
...
Ok'd by Hugh Graham and board.
2004-05-12 00:45:04 +00:00
matt
22120ad628
Constify the speedtab arrays
2004-04-25 06:23:40 +00:00
bjh21
0fada96f70
Move my copyright notice to the 3-clause UCB licence.
2004-03-22 18:36:14 +00:00
wiz
f05e6f1a3a
occured -> occurred. From Peter Postma.
2004-02-24 15:12:51 +00:00
ad
3234027240
Add write barriers (a no-op on vax).
2003-12-13 23:02:33 +00:00
ragge
a808d6e157
Add stop routine. Add support for turning the device into promiscous mode.
...
Force interrupt in probe so that the interrupt vector can be detected.
2003-08-31 11:13:43 +00:00
ragge
a936bbd778
bus-ify. Make bpf work, but no promiscuous mode yet.
2003-08-29 14:39:28 +00:00
ragge
b61c0451e0
The qt driver must be probed first, so that the qe driver is skipped
...
if it is a qt card.
2003-08-29 13:50:45 +00:00
ragge
cd72141286
Make the qt driver work under NetBSD. Still to do:
...
- bus-ify.
- bpf support.
- multicast support.
2003-08-29 13:49:39 +00:00
ragge
b6d1d6091d
Keep track of which addresses that are used by devices, so that probing
...
do not fiddle with registers on already found devices.
2003-08-28 14:59:06 +00:00
ragge
3627139aef
Add qt.
2003-08-28 10:07:34 +00:00
ragge
bc6fe7fbed
Driver for the DELQA-PLUS card in Turbo mode, from 2.11BSD, written by
...
Steven M. Schultz.
2003-08-28 10:03:32 +00:00
ragge
c049e276e3
Improved driver with much better error handling, from Jochen Kunz
...
(the original author of the driver).
2003-08-13 08:08:48 +00:00
agc
aad01611e7
Move UCB-licensed code from 4-clause to 3-clause licence.
...
Patches provided by Joel Baker in PR 22364, verified by myself.
2003-08-07 16:26:28 +00:00
lukem
365cbd9428
add missing __KERNEL_RCSID()
2003-07-14 15:47:00 +00:00
drochner
1a03e79900
don't #include <sys/dkstat.h> where it is (appearently) unused
2003-06-18 08:58:34 +00:00
thorpej
e43fecb228
Change bounds_check_with_label() to take a pointer to the disk structure,
...
rather than the label itself. This paves the way for some future changes.
2003-05-10 23:12:28 +00:00
wiz
1ffa7b76c4
DMA, not dma nor Dma.
2003-05-03 18:10:37 +00:00
dsl
d91455ce26
Change return type of readdisklabel() to const char *
...
I hope I've found all the correct places!
2003-05-02 08:45:10 +00:00
ragge
f2523f5b9f
A bunch of fixes to make the DHU driver much more efficient,
...
from Hugh Graham (hugh@openbsd.org ).
2003-04-06 15:45:11 +00:00
he
f918a51ddd
Change SBSIZE -> SBLOCKSIZE, to track changes caused by the UFS2 merge.
2003-04-02 20:38:28 +00:00
thorpej
52d8769e0b
Use PAGE_SIZE rather than NBPG.
2003-04-01 02:01:43 +00:00
ragge
281464eb81
Driver for RX01/02 floppies, written by Jochen Kunz.
2003-03-23 11:01:16 +00:00
bouyer
85393c3223
Redo previous in a better way:
...
allocate a static buffer, which is added at the end of short packets
to pad the buffer to ETHER_MIN_LEN - ETHER_CRC_LEN.
While I'm there fix 2 bugs:
in qeinit(), unload the right dmamap if bus_dmamap_load fails
in qestart, don't dmamap_load the mbuf if its len is 0.
Tested on simh-vax.
2003-01-17 15:45:59 +00:00
bouyer
fddee95ba4
Ragge said this chip should autopad, so just remove the check.
2003-01-15 22:12:31 +00:00
bouyer
65856947c5
Zero out the extra space stolen from mbuf to pad packet to ETHER_MIN_LEN
...
XXX should it be ETHER_MIN_LEN - ETHER_CRC_LEN ?
XXX2 we assume there are enouth space in the mbuf for the padding bytes.
But other places in the code assumes this already.
2003-01-15 22:10:25 +00:00
wiz
7e681f7063
interrupt with two rs.
2003-01-06 13:04:54 +00:00
thorpej
72a7af27b0
Use aprint_normal() in cfprint routines.
2003-01-01 00:10:15 +00:00
christos
514f7047e4
si_ -> sel_
2002-11-26 18:49:40 +00:00
jdolecek
e0cc03a09b
merge kqueue branch into -current
...
kqueue provides a stateful and efficient event notification framework
currently supported events include socket, file, directory, fifo,
pipe, tty and device changes, and monitoring of processes and signals
kqueue is supported by all writable filesystems in NetBSD tree
(with exception of Coda) and all device drivers supporting poll(2)
based on work done by Jonathan Lemon for FreeBSD
initial NetBSD port done by Luke Mewburn and Jason Thorpe
2002-10-23 09:10:23 +00:00
thorpej
b75a007d9f
Add trailing ; to CFATTACH_DECL.
2002-10-02 16:51:16 +00:00
thorpej
71adb76f75
Use CFATTACH_DECL().
2002-09-30 21:57:46 +00:00
wiz
b1c7ac0e6d
"definitions" has lots of 'i's, but that's not reason to leave one out.
2002-09-29 23:23:56 +00:00
thorpej
f818766afe
Declare all cfattach structures const.
2002-09-27 20:31:45 +00:00
provos
0f09ed48a5
remove trailing \n in panic(). approved perry.
2002-09-27 15:35:29 +00:00
thorpej
6c88de3b53
Introduce a new routine, config_match(), which invokes the
...
cfattach->ca_match function in behalf of the caller. Use it
rather than invoking cfattach->ca_match directly.
2002-09-27 03:17:40 +00:00
thorpej
d1ad2ac4f2
Rather than referencing the cfdriver directly in the cfdata entries,
...
instead use a string naming the driver. The cfdriver is then looked
up in a list which is built at run-time.
2002-09-27 02:24:06 +00:00
ad
989a076f27
Update for dzattach() change.
2002-09-26 05:54:07 +00:00
thorpej
71404bb533
Don't include <sys/map.h>.
2002-09-25 22:21:01 +00:00