summaryrefslogtreecommitdiff
path: root/sys/dev/sbus/qe.c
AgeCommit message (Collapse)Author
2008-10-02First step towards cleaning up the Ethernet driver ioctl handling.Brad Smith
Move calling ether_ioctl() from the top of the ioctl function, which at the moment does absolutely nothing, to the default switch case. Thus allowing drivers to define their own ioctl handlers and then falling back on ether_ioctl(). The only functional change this results in at the moment is having all Ethernet drivers returning the proper errno of ENOTTY instead of EINVAL/ENXIO when encountering unknown ioctl's. Shrinks the i386 kernels by.. RAMDISK - 1024 bytes RAMDISKB - 1120 bytes RAMDISKC - 832 bytes Tested by martin@/jsing@/todd@/brad@ Build tested on almost all archs by todd@/brad@ ok jsing@
2008-06-26First pass at removing clauses 3 and 4 from NetBSD licenses.Ray Lai
Not sure what's more surprising: how long it took for NetBSD to catch up to the rest of the BSDs (including UCB), or the amount of code that NetBSD has claimed for itself without attributing to the actual authors. OK deraadt@
2006-06-21don't need #ifdef SUN4U any moreJason Wright
2006-06-02sbus_establish() and the associated linked list in the sbus softc is now onlyMiod Vallat
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.
2006-03-25allow bpf(4) to ignore packets based on their direction (inbound orDamien Miller
outbound), using a new BIOCSDIRFILT ioctl; guidance, feedback and ok canacar@
2005-06-08remove netns crud.Henning Brauer
some drivers actually had hooks for SIOCSIFADDR, most just useless includes "looks good" deraadt miod brad
2005-01-15make sure interface is in RUNNING state before touching the multicast filtersBrad Smith
From NetBSD NetBSD PR 27678 for details ok mcbride@
2004-05-12network drivers don't need to include bpfdesc.hTed Unangst
ok krw@ canacar@
2003-06-27These don't need linear mappings either.Jason Wright
2003-06-24Add a "where" argument to the sparc64 interrupt code. This lets usHenric Jungheim
associate a name with each interrupt handler. This is not visible outside the kernel (yet). ok jason@
2003-06-02Nuke my clause 3 and 4 (and a couple of files jointly (c) with Theo).Jason Wright
2003-03-27const and static cleaningJason Wright
2003-02-17Add support for the Sun Enterprise 450Henric Jungheim
Reduce the size of a GENERIC kernel by ~190k Remove the nasty pointer/bus_space_handle_t casts Adds debug bus_space code including the ability to trace bus operations (it actually works now). The following rules are now followed (and verfified by the debug code): 1. A "bus_space_handle_t" may only be used with the "bus_space_tag_t" that created it. 2. Only "bus_space_map()" may create "bus_space_handle_t"s. 3. A "bus_space_handle_t" may not be modified after it has been created (other than being destroyed by "bus_space_unmap()"). Thanks to help from mcbride, marc, jason, drahn, to anyone that might have slipped my mind at the moment. ok jason@, deraadt@
2002-03-14First round of __P removal in sysTodd C. Miller
2002-03-07From watching source-changes@netbsd.org: rb_dmabase needs to be initializedJason Wright
-after- the call to bus_dmamem_map()
2002-01-01don't whine about no carrier here either.Jason Wright
2001-11-28KNFJason Wright
2001-11-28be sure to call ether_ioctl, like everyone else.Jason Wright
also, complain if we don't get an interrupt established. current state: be doesn't interrupt, qe gets rx/tx sbus dma errors *sigh*
2001-11-27remove sc_enaddr and just put the ethernet address into arpcom.ac_enaddr.Jason Wright
2001-09-12get sc_bustag and sc_dmatag from attach.Jason Wright
2001-08-31implement autoconf mechanism using device_register(); from NetBSD.Jason Wright
2001-08-20add qec+qe stuff from NetBSD (originally from OpenBSD... funny circle, eh?)Jason Wright
including: - OpenBSD style boot determination - local version of media handling - other local modifications, too.