summaryrefslogtreecommitdiff
path: root/sys/dev/sbus
AgeCommit message (Collapse)Author
2003-12-23Only ACK pending interrupts (instead of all possible). Log interrupts wemartin
probably should have handled but didn't. Minor cleanup.
2003-12-04netbsd.org -> NetBSD.orgkeihan
This was the last commit of this kind to src/sys, which is now totally "NetBSD.org clean". Thanks for the patiance, and sorry for all the commits.
2003-12-04NetBSD.ORG -> NetBSD.orgkeihan
Now all "NetBSD.ORG" are gone from src/sys.
2003-11-13eliminate uvm_useracc() in favor of checking the return value ofchs
copyin() or copyout(). uvm_useracc() tells us whether the mapping permissions allow access to the desired part of an address space, and many callers assume that this is the same as knowing whether an attempt to access that part of the address space will succeed. however, access to user space can fail for reasons other than insufficient permission, most notably that paging in any non-resident data can fail due to i/o errors. most of the callers of uvm_useracc() make the above incorrect assumption. the rest are all misguided optimizations, which optimize for the case where an operation will fail. we'd rather optimize for operations succeeding, in which case we should just attempt the access and handle failures due to insufficient permissions the same way we handle i/o errors. since there appear to be no good uses of uvm_useracc(), we'll just remove it.
2003-11-11Remove ancient DDB-dependent `hide/integrate'.pk
Simplify lewrcsr/lerdcsr; read-back after write doesn't hurt on sun4 so skip the cpu type test in generic kernels.
2003-10-28uninitialized variables.chs
2003-10-28Uninitialized variable.ad
2003-10-16Enable VLAN encapsulation.pk
2003-09-10Get rid of the disgusting struct apc_dma *dma = NULL; hack now that weuwe
have proper definitions for offsets of APM DMA registers. NULL out round_buffersize and round_blocksize in audio_hw_if. We don't seem to have any special requirements and audio(9) already provides enough rounding.
2003-08-27change PROM_getprop() from taking a "void **" for the storage, to amrg
"void *", and do the extra de-reference directly in the function. this avoids having to cast dozens of different types to "void **", which sets of GCC3's strict-aliasing. testing by martin@
2003-08-25Undo previous as it broke things.uwe
There are some scattered implicit RASTERCONSOLE dependencies, so there should be a better way.
2003-08-24#include "opt_rcons.h"uwe
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-08-01Get machine/dev/sbusvar.h for SUN4D too.pk
2003-06-29Back out the lwp/ktrace changes. They contained a lot of colateral damage,fvdl
and need to be examined and discussed more.
2003-06-29More changes for providing lwpid for ktrace (sparc GENERIC built)darrenr
2003-05-03DMA, not dma nor Dma.wiz
2003-04-24Fix attachment for sparc64 systems (missing bus_space_vaddr).martin
Patches submitted in PR 21188.
2003-02-27Back out rev. 1.26; I forgot about the Javastations..pk
2003-02-27Some machine have a `SUNW,CS4231' node, but no actual hardware. It seemspk
these can be identified by a `serial' device type. From Julian Coleman.
2003-02-22hz -> Hztsutsui
2003-02-06Remove unneeded #include's.hannken
Approved by: Paul Kranenburg <pk@netbsd.org>
2003-02-06Add <sys/lock.h> include for ncr53c9xvar.h.martin
2003-01-07Add SUN4U magic to make nell work without things like WI_AT_BIGENDIAN_HACK.martin
XXX - need to move this (as well as the equivalent sparc stuff added recently) outa here into sbus_machdep or something. We should not need to know details of the actual bus_space implementation here.
2003-01-03Separate the sbus bus_space_tag_t used for access to nell hardware frommartin
the self constructed little endian pcmcia bus_space_tag_t used for the client drivers.
2003-01-03part one of bus_space(9) fixes to enable bus spaces to override themrg
bus_space_{read,write}_[1248]() functions, which will allow 16-bit PCMCIA support to work without additional hacks in MI drivers. this option is not enabled yet.
2003-01-02Call interrupt handlers from a soft interrupt to decouple them from themartin
(sometimes excessive) SPL assigned by the firmware to the sbus interrupt. Protect access to hardware by splhigh().
2003-01-01Use aprint_normal() in cfprint routines.thorpej
2002-12-25fix typo in QE_CR_STAT_BITS - bit indication for EDEFER was wrongjdolecek
Reported in kern/19557 by Ron Roskens
2002-12-17Establish high-level interrupt with IPL_SERIAL.pk
2002-12-10Remove the `flags' argument from bus_intr_establish().pk
2002-12-10bus_intr_establish() signature change.pk
The additional `fast trap' argument is ignored in these drivers.
2002-12-10Switch to softintr(9).pk
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-10Only use one interrupt handler for both status changes and pcmcia IOmartin
intterupts. No more races between the two interrupt handlers, without any locking, and the driver becomes a bit simpler too. Use the last bit of the config flags to select between the first and the second sbus interrupt level the firmware has assigned to us.
2002-10-02Add trailing ; to CFATTACH_DECL.thorpej
2002-10-01Add missing args to CFATTACH_DECL.uwe
2002-09-30Use CFATTACH_DECL().thorpej
2002-09-27Declare all cfattach structures const.thorpej
2002-09-27remove trailing \n in panic(). approved perry.provos
2002-09-27Compare the driver name against "ledma", rather than looking forthorpej
&ledma_ca.
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-25Additional fixes to make 16 targets work on FAS366.mycroft
2002-09-18Squash some bugs.ad
2002-09-13Driver for the Sun ZX/Leo framebuffer. This would be called leo, but thead
amiga port already has a driver by that name.
2002-09-12bus_dmamap_load() can't take BUS_DMA_COHERENT flag.tsutsui
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-09-04Adapt to recent sbusvar.h changes.martin
Use a slightly less conservative timing configuration.
2002-09-04Adapt to sbusvar.h changes.martin