summaryrefslogtreecommitdiff
path: root/sys/dev/sbus/magma.c
AgeCommit message (Collapse)Author
2003-10-03Merge tty_attach() in ttymalloc() and tty_detach() in ttyfree(). The need forMiod Vallat
separate tty registering is gone now that sparc has switched to wscons, and this makes the code less error-prone. Also, remove tests for ttymalloc() failure, since it uses M_WAITOK. ok millert@ deraadt@, tested by various people as well besides me...
2003-09-23Replace select backends with poll backends. selscan() and pollscan()Todd C. Miller
now call the poll backend. With this change we implement greater poll(2) functionality instead of emulating it via the select backend. Adapted from NetBSD and including some changes from FreeBSD. Tested by many, deraadt@ OK
2003-08-15change arguments to suser. suser now takes the process, and a flagsTed Unangst
argument. old cred only calls user suser_ucred. this will allow future work to more flexibly implement the idea of a root process. looks like something i saw in freebsd, but a little different. use of suser_ucred vs suser in file system code should be looked at again, for the moment semantics remain unchanged. review and input from art@ testing and further review miod@
2003-07-15ansiJason Wright
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-03-27const and static cleaningJason Wright
2003-02-11be consistant on Hz vs hzMichael Shalayeff
2002-03-14Use getpropstringA instead of getpropstring to fetch magma_prom propertyJason Wright
to avoid clobbering sa->sa_name (similiar fix as sparc)
2002-01-25Add support for the "Magma 2+1HS Sp" (from NetBSD)Jason Wright
2002-01-12the 1190 and 1400 register maps aren't the same size don't treat them soJason Wright
(basically this was a cut and pasto).
2002-01-12House cleaning: removing some leftover sparc bits and suchJason Wright
2002-01-12Port of Iain Hibbert's magma driver to sparc64Jason Wright