summaryrefslogtreecommitdiff
path: root/sys/dev/qbus
AgeCommit message (Collapse)Author
2003-12-13Add write barriers (a no-op on vax).ad
2003-08-31Add stop routine. Add support for turning the device into promiscous mode.ragge
Force interrupt in probe so that the interrupt vector can be detected.
2003-08-29bus-ify. Make bpf work, but no promiscuous mode yet.ragge
2003-08-29The qt driver must be probed first, so that the qe driver is skippedragge
if it is a qt card.
2003-08-29Make the qt driver work under NetBSD. Still to do:ragge
- bus-ify. - bpf support. - multicast support.
2003-08-28Keep track of which addresses that are used by devices, so that probingragge
do not fiddle with registers on already found devices.
2003-08-28Add qt.ragge
2003-08-28Driver for the DELQA-PLUS card in Turbo mode, from 2.11BSD, written byragge
Steven M. Schultz.
2003-08-13Improved driver with much better error handling, from Jochen Kunzragge
(the original author of the driver).
2003-08-07Move UCB-licensed code from 4-clause to 3-clause licence.agc
Patches provided by Joel Baker in PR 22364, verified by myself.
2003-07-14add missing __KERNEL_RCSID()lukem
2003-06-18don't #include <sys/dkstat.h> where it is (appearently) unuseddrochner
2003-05-10Change bounds_check_with_label() to take a pointer to the disk structure,thorpej
rather than the label itself. This paves the way for some future changes.
2003-05-03DMA, not dma nor Dma.wiz
2003-05-02Change return type of readdisklabel() to const char *dsl
I hope I've found all the correct places!
2003-04-06A bunch of fixes to make the DHU driver much more efficient,ragge
from Hugh Graham (hugh@openbsd.org).
2003-04-02Change SBSIZE -> SBLOCKSIZE, to track changes caused by the UFS2 merge.he
2003-04-01Use PAGE_SIZE rather than NBPG.thorpej
2003-03-23Driver for RX01/02 floppies, written by Jochen Kunz.ragge
2003-01-17Redo previous in a better way:bouyer
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-15Ragge said this chip should autopad, so just remove the check.bouyer
2003-01-15Zero out the extra space stolen from mbuf to pad packet to ETHER_MIN_LENbouyer
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-06interrupt with two rs.wiz
2003-01-01Use aprint_normal() in cfprint routines.thorpej
2002-11-26si_ -> sel_christos
2002-10-23merge kqueue branch into -currentjdolecek
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-02Add trailing ; to CFATTACH_DECL.thorpej
2002-09-30Use CFATTACH_DECL().thorpej
2002-09-29"definitions" has lots of 'i's, but that's not reason to leave one out.wiz
2002-09-27Declare all cfattach structures const.thorpej
2002-09-27remove trailing \n in panic(). approved perry.provos
2002-09-27Introduce a new routine, config_match(), which invokes thethorpej
cfattach->ca_match function in behalf of the caller. Use it rather than invoking cfattach->ca_match directly.
2002-09-27Rather than referencing the cfdriver directly in the cfdata entries,thorpej
instead use a string naming the driver. The cfdriver is then looked up in a list which is built at run-time.
2002-09-26Update for dzattach() change.ad
2002-09-25Don't include <sys/map.h>.thorpej
2002-09-06Merge the gehenna-devsw branch into the trunk.gehenna
This merge changes the device switch tables from static array to dynamically generated by config(8). - All device switches is defined as a constant structure in device drivers. - The new grammer ``device-major'' is introduced to ``files''. device-major <prefix> char <num> [block <num>] [<rules>] - All device major numbers must be listed up in port dependent majors.<arch> by using this grammer. - Added the new naming convention. The name of the device switch must be <prefix>_[bc]devsw for auto-generation of device switch tables. - The backward compatibility of loading block/character device switch by LKM framework is broken. This is necessary to convert from block/character device major to device name in runtime and vice versa. - The restriction to assign device major by LKM is completely removed. We don't need to reserve LKM entries for dynamic loading of device switch. - In compile time, device major numbers list is packed into the kernel and the LKM framework will refer it to assign device major number dynamically.
2002-08-26Include DMF32/DMZ32 files. The actual device drivers will be checked in whenragge
the licensing of the 4.4BSD encumbered files are solved.
2002-07-22Convert to new device buffer queue interface.hannken
Approved by: Anders Magnusson <ragge@netbsd.org>
2002-06-14Must check B_PHYS, not b_proc, if it is DMA to userspace, otherwise theragge
machine will crash. This fixes a panic when a Unibus adapter runs out of map registers (happens frequently), reported by Johnny Billquist.
2002-06-08Detection bug: If a packet is received while in the match() routine the stackragge
would be overwritten, so allocate memory for a full packet via malloc() instead. Use correct buffer maxlen (must be 2 complemet). Bug reported and helped to find by Roar Thronæs.
2002-06-01SIMPLEQ rototill:lukem
- implement SIMPLEQ_REMOVE(head, elm, type, field). whilst it's O(n), this mirrors the functionality of SLIST_REMOVE() (the other singly-linked list type) and FreeBSD's STAILQ_REMOVE() - remove the unnecessary elm arg from SIMPLEQ_REMOVE_HEAD(). this mirrors the functionality of SLIST_REMOVE_HEAD() (the other singly-linked list type) and FreeBSD's STAILQ_REMOVE_HEAD() - remove notes about SIMPLEQ not supporting arbitrary element removal - use SIMPLEQ_FOREACH() instead of home-grown for loops - use SIMPLEQ_EMPTY() appropriately - use SIMPLEQ_*() instead of accessing sqh_first,sqh_last,sqe_next directly - reorder manual page; be consistent about how the types are listed - other minor cleanups
2002-05-22bcmp -> memcmp.wiz
2002-03-23Call rlreset() per controller, not per disk.ragge
Be more informative about the state of the disk (locked, unloaded etc...) Send NULL as proc pointer to bus_dma_load if B_PHYS is not set. Break out softc's from rl.c to rlvar.h for inclusion elsewhere.
2002-03-17Convert ioctl code to use EPASSTHROUGH instead of -1 or ENOTTY foratatat
indicating an unhandled "command". ERESTART is -1, which can lead to confusion. ERESTART has been moved to -3 and EPASSTHROUGH has been placed at -4. No ioctl code should now return -1 anywhere. The ioctl() system call is now properly restartable.
2002-03-05bring in latest ALTQ from kjc. ALTQify some of the drivers.itojun
2002-02-25Move the dz driver to dev/dec, since it can be shared with pmax.ad
2001-12-06#endif ... -> #endif /* ... */msaitoh
2001-11-15don't need <sys/types.h> when including <sys/param.h>lukem
2001-11-13add RCSIDslukem
2001-08-16Trying to get these files out of Attic.ragge