summaryrefslogtreecommitdiff
path: root/sys/dev/tc
AgeCommit message (Collapse)Author
2003-12-20- Add /* CONSTCOND */ where appropriate.tsutsui
- Use SFBWRITE32() in recently added sfb_screenblank() too.
2003-12-20- Minor coding modifications for VDAC register access.nisimura
- De-__P() this time. Tested valid with 4MAXINE.
2003-12-20- Use volatile designations for memory writes to prevent compilernisimura
change fallouts. - De-__P() this time. Tested valid with DEC3000/300 and 4MAXINE.
2003-12-17- Restore the display to a sane state when leaving mapped mode.ad
- OR updates into sc_changed, and protect with spltty()/splx().
2003-12-15Fixes from PR#23177. Various lint/logic fixes:jmc
Fix some non-initialized variables close the output files when done Redo the printing for RCS strings so they don't expand in the awk script too Do proper tests for variables existance before accessing Verified output from all scripts is identical to original versions
2003-12-13Make this compile again.ad
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-10-27uninitialized variableschs
2003-10-25regenchs
2003-10-25add some missing. uncomment some. alphabetize.chs
2003-10-23NULL -> 0mycroft
2003-10-23NULL -> 0mycroft
2003-10-04Regen from tcdevs rev 1.18:tsutsui
>- Move PMAGB-BA and PMAG-JA (which I have) out of "may be incorrect" entries. >- Put driver name "tfb" for PMAG-JA (which will appear in future pmax-wscons).
2003-10-04- Move PMAGB-BA and PMAG-JA (which I have) out of "may be incorrect" entries.tsutsui
- Put driver name "tfb" for PMAG-JA (which will appear in future pmax-wscons).
2003-09-27Use strlcpy() rather than strncpy() + `\0' termination.tsutsui
2003-09-26Remove casts and use %x in printf for tc_offset_t,tsutsui
which is int32_t on both alpha and pmax.
2003-09-26Fix off-by-one problem in array size.mycroft
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-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-29Fix 'struct lwp *' lossage.simonb
2003-05-03DMA, not dma nor Dma.wiz
2003-04-01Use PAGE_SIZE rather than NBPG.thorpej
2003-03-06Add cn_halt and cn_flush entries to consdevs. (needed for dma-only consolematt
devices).
2003-02-22hz -> Hztsutsui
2003-02-04deal with malloc_type fallout.matt
2003-01-22Lance chip needs to be accessed in sparse address space for alpha. Fixesmhitch
Turbochannel Ethernet card on Alpha 3000 systems.
2003-01-06interrupt with two rs.wiz
2003-01-01Use aprint_normal() in cfprint routines.thorpej
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-10-01Use 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-26G/c extern reference to ioasic_cd.thorpej
2002-09-26No need to make sure parent's cfdriver == &ioasic_cd.thorpej
2002-09-24Deal with the strange SCC wiring on TC IOASIC machines. Thanks to Billad
Studenmund and Jonathan Stone for useful comments.
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-19Leaving overflow-sensitive code, very similar to what was fixeditohy
in the previous changes to cfb.c / sfb.c / xcfb.c, would not be clever. Just modify in the similar way.
2002-08-19Make it compile again.itohy
Hi, itojun!
2002-08-06integer overflow. from silvio@qualys.comitojun
2002-07-04alloc_attr -> allocattrjunyoung
Approved by Matthias Drochner.
2002-06-02move initialization of the "struct pglist" returned by uvm_pglistalloc()drochner
from the calling code into uvm_pglistalloc() itself for consistency and easier error handling
2002-05-17Tokens after #else are ignored, which is not the intention here.wiz
2002-05-06Put back a missing brace.ad
2002-04-22Rename the audio "bus" attribute audiobus to avoid confusion with audioaugustss
device.
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-13zskbd_keydesctab -> lkkbd_keydesctabad