summaryrefslogtreecommitdiffstats
path: root/sys/arch/sparc/dev/qec.c (follow)
Commit message (Collapse)AuthorAgeFilesLines
* Celebrate OpenBSD 6.0 release by retiring the sparc port.tedu2016-09-011-394/+0
| | | | | You've served us well, good friend, but now it's time to rest. ok deraadt
* remove needless malloc castmmcc2016-03-071-3/+2
|
* Network drivers should not include <net/route.h> or <net/netisr.h>mpi2015-11-251-2/+1
|
* You only need <net/if_dl.h> if you're using LLADDR() or a sockaddr_dl.mpi2015-11-241-2/+1
|
* The only network driver needing <net/if_types.h> is upl(4) for IFT_OTHER.mpi2015-11-241-2/+1
|
* Add a bus_dma_tag_t for DVMA usage, suitable for use for devices not sittingmiod2015-03-301-4/+5
| | | | | | | | | | | | | | | | | behind a sun4m iommu. Move the existing dvma routines from vm_machdep.c to this new dvma.c; this allows for a few declarations to be removed from public headers. Extend the device attachment arguments (struct confargs) to pass a bus_dma_tag_t. mainbus receives the dvma bus_dma_tag_t, and devices pass the tag unchanged to their children, except for iommu(4) which replaces it with its own. Change the few sun4m-only drivers to pick the bus_dma_tag_t from confargs rather than assume iommu; this allows qlw(4) to attach and work on sun4c. ok kettenis@
* Convert qe(4) et be(4) to if_input().mpi2015-03-291-4/+2
| | | | Tested by miod@, thanks!
* Do the right thing in qec_fix_range() when connected to an sbus(4) withoutmiod2015-03-221-15/+40
| | | | | `ranges' property, i.e. sun4c, so that child devices can attach correctly. This makes be(4) work on sun4c.
* <netinet/in_systm.h> is no longer needed.mpi2014-07-221-5/+1
|
* Most network drivers include netinet/in_var.h, but apparently theybluhm2013-09-051-2/+1
| | | | | | don't have to. Remove these include lines from mvme68k, mvme88k, sparc drivers. test and OK miod@
* Remove bogus LHS casts. makes gcc4 happy.kettenis2010-09-051-3/+3
| | | | ok miod@
* Don't #include <sys/user.h> into files that don't need the stuffguenther2010-06-261-2/+1
| | | | | | | | it defines. In some cases, this means pulling in uvm.h or pcb.h instead, but most of the inclusions were just noise. Tested on alpha, amd64, armish, hppa, i386, macpcc, sgi, sparc64, and vax, mostly by krw and naddy. ok krw@
* sbus_establish() and the associated linked list in the sbus softc is now onlymiod2006-06-021-4/+1
| | | | | | used to store a per-device reset callback, for use in sbusreset(). Except sbusreset() has never, ever, been used since Torek's sbus code went in. Time to recycle those wasted bits.
* some license cleanupderaadt2003-06-021-3/+1
|
* First round of __P removal in sysmillert2002-03-141-6/+6
|
* simplify qec_put a bitjason2002-02-081-11/+7
|
* - take advantage of the fact that qe's and be's require qec's and movejason2001-01-301-1/+100
| | | | | | some common functionality into qec's driver (rx and tx frame fetching) - avoid modulus operations - some style
* but make it work for multiple cards... i thinkderaadt1999-07-051-3/+2
|
* calculate ca_offset correctlyderaadt1999-07-051-2/+4
|
* save a bit of space; theo.jason1998-11-161-3/+3
|
* Detect cards that require dma that are in non-dma slots and don't allowjason1998-11-111-2/+24
| | | | them to be attach'd.
* First step at unifying qe & be drivers:jason1998-11-021-8/+28
| | | | | | | o qe & be drivers now only access qec globals directly at interrupt time o more initialization done in qec_reset o qe & be drivers handle the qec internal buffer identically o nuked unused variables
* The qec global reset should only be allowed to happen once per qec card, notjason1998-10-211-1/+3
| | | | once per channel init.
* Support for the qec+qe (SBus QuadEthernet board)jason1998-10-191-2/+21
|
* o Fix up address rangesjason1998-08-261-8/+96
| | | | | o Added qec_translate for translating addresses of prom children o Added qec_reset to do a generic reset of the card
* do not print fake slot numbersderaadt1998-07-051-2/+2
|
* map qec registers properlyderaadt1998-07-051-13/+11
|
* add qec register infoderaadt1998-07-041-1/+2
|
* add support for qec; same basic thing as lebufferderaadt1998-07-041-0/+139