summaryrefslogtreecommitdiff
path: root/sys/arch/vax/qbus
AgeCommit message (Collapse)Author
2011-07-06Remove support for non-microVAX, non-VAXstation, non-VXT hardware in theMiod Vallat
VAX port. This means, 11/7xx, VAX6000 and VAX8x00 systems, as well as SBI, CMI, BI, XMI and MASSBUS drivers. Most of these files were not being compiled or kept in compilable state over the years anyway.
2010-11-18Do not #include <sys/dkstat.h> if you don't need anything from it.Miod Vallat
ok krw@ deraadt@
2010-09-22All users of physio(9) now pass NULL as the buf pointer argument, soMatthew Dempsky
no point in keeping it around. "i like this" thib@ (a while back); ok krw@ and oga@; reminder to update the man page and tweaks jmc@
2010-09-20Stop doing shutdown hooks in network drivers where possible. We alreadyTheo de Raadt
take all interfaces down, via their xxstop routines. Claudio and I have verified that none of the shutdown hooks do much extra beyond what xxstop was already doing; it is largely a pile of junk. ok claudio, some early comments by sthen; also read by matthew, jsg
2010-09-20Get rid of evcount's support for arranging counters in a treeMatthew Dempsky
hierarchy. Everything attached to a single root node anyway, so at best we had a bush. "i think it is good" deraadt@
2010-08-27remove the unused if_init callback in struct ifnetJonathan Gray
ok deraadt@ henning@ claudio@
2010-07-10Eliminate two of the remaining three instances of drivers passingMatthew Dempsky
their own buf to physio(9). compiler tested by nick@ and miod@; ok miod@ general approval thib@, deraadt@
2010-07-02Move common code for waking up writers on a tty into a function.Nicholas Marriott
ok deraadt matthew millert
2010-06-28Allow tty drivers to request larger buffers at attach time using aTheo de Raadt
max-baud-rate hint. Adjust TTYHOG (the nearly full logic) to this new situation. The larger buffers are required by the very high speed KDDI devices in Japan (CF com, or USB ucom) so those are the only two drivers which currently ask for a larger buffer size. ok yasuoka miod
2010-06-26Don't #include <sys/user.h> into files that don't need the stuffPhilip Guenthe
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@
2010-04-12Some of the line disciplines want to check for suser. Better to pass themTed Unangst
a process instead of using curproc. ok deraadt
2009-12-16spelling; from Jacob MeuserTheo de Raadt
2009-11-09Every selwakeup() should have a matching KNOTE() (even if kqueue isn'tNicholas Marriott
supported it doesn't do any harm), so put the KNOTE() in selwakeup() itself and remove it from any occurences where both are used, except one for kqueue itself and one in sys_pipe.c (where the selwakeup is under a PIPE_SEL flag). Based on a diff from tedu. ok deraadt
2009-10-31Use suser when possible. Suggested by miod@.Federico G. Schwindt
miod@ deraadt@ ok.
2009-10-31Add missing KNOTE() calls after selwakeup(), until we decide if the KNOTE()Theo de Raadt
calls can go directly into selwakeup() safely long discussion with nicm, murmers of consent from tedu and miod, noone else seems to care of kqueue is busted as long as it makes their sockets move data fast... pretty sad.
2008-10-15Second pass of simple timeout_add -> timeout_add_sec conversionsBret Lambert
This should take care of the simpler ones (i.e., timeout values of integer multiples of hz). ok krw@, art@
2008-08-24Writing to the DTR register on KA60 resets the TCR register behind our back.Miod Vallat
Preserve it explicitely in dzmctl() and restore it after the DTR update. (This problem was a real PITA to track down)
2008-08-24typoMiod Vallat
2008-08-15Make the DZ_{READ,WRITE}_{BYTE,WORD} macros visible outside of dz.c, forMiod Vallat
other dz attachments to be able to use them (soon).
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@
2008-01-23Cleanup cn_pri. Change constants to more meaningful names, rather thanJoel Sing
the hp300 related ones currently in use. CN_NORMAL becomes CN_LOWPRI, CN_INTERNAL becomes CN_MIDPRI and CN_REMOTE becomes CN_HIGHPRI. ok miod@
2007-05-25"interupt" -> "interrupt" in various comments. Mostly from Diego Casati.Kenneth R Westerback
2007-05-10evcnt & friends were replaced by a proper interrupt counting mechanism 3 ↵Theo de Raadt
years ago; ok miod
2007-04-10``it's'' -> ``its'' when the grammar gods require this change.Miod Vallat
2006-08-05If a dz child driver has taken over a line, it will never be accessibleMiod Vallat
as /dev/tty0X, period. So return ENXIO instead of EBUSY in dzopen().
2006-07-31More dead structures and defines...Miod Vallat
2006-07-31Get my raster ops correct for the cursor, fixes the display glitches.Miod Vallat
2006-07-29Sync dz and lk{kbd,ms} code with NetBSD, this allows keyboards to work whenMiod Vallat
initialized by the PROM.
2006-07-19Remove long dead meat and irrelevant defines. No functional change.Miod Vallat
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@
2006-01-17Use angle bracket and no relative paths for all include files which are notMiod Vallat
created by config(8); no functional change.
2006-01-01Let cons_init() and cons_init_bell() initialize the whole consdev structure,Miod Vallat
thus removing the need for drivers to initialize cn_pri to CN_DEAD when hardware probe fails.
2005-12-10{en,re}trys -> {en,re}tries; eyeballed by jmc@Miod Vallat
2005-11-24splimp -> splvmBrad Smith
ok martin@
2005-11-12Make sure we only touch associated processes of physical buffers.Pedro Martelletto
Okay deraadt@.
2005-03-08Cosmetics...Thierry Deval
Mainly remove space between locators parens, replace spaces with tabs where appropriate and consistently align dependencies.
2004-09-19constify speedtabs and make ttspeedtab() take a const struct speedtab *Michael Shalayeff
2004-07-09qbus vector counting, too; from hughTheo de Raadt
2004-07-07new-style interrupt counters. based on initial work by hugh. ok miodTheo de Raadt
2004-05-04Remove useless ``elm'' argument from the SIMPLEQ_REMOVE_HEAD macro.Alexander Yurchenko
This matches our SLIST behaviour and NetBSD's SIMPLEQ as well. ok millert krw deraadt
2003-11-10Get rid of the "struct pte" bitfield, and use straight integers.Miod Vallat
Makes the code slightly more readble, removes casts, and makes some specific constants defined for the bitfields disappear in pmap.c... No functional change.
2003-11-03spelling fixes (in the comments)David Krause
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-26Typos: defintion -> definition, proccess -> processMiod Vallat
There are more occurences hiding in binutils, lynx and afs but I am too lazy to report them upstream at the moment.
2003-06-02Remove the advertising clause in the UCB license which BerkeleyTodd C. Miller
rescinded 22 July 1999. Proofed by myself and Theo.
2003-05-11string cleaning; krw okTheo de Raadt
2003-04-06remove an erroneous commentHugh Graham
2003-04-06Significant DHU driver fixups:Hugh Graham
. immediately service all available action reports in the transmit . interrupt handler so we don't exhaust the action report fifo and . hang the device when under high load . . set receive interrupt delay to 10ms if the hardware supports it, . vastly reducing interrupts by allowing the receive fifo to fill . . always use dma when in DHU11 mode
2003-04-03Real DHUs don't have a TXCHAR register, so write directly to the fifoHugh Graham
instead. Driver now transmits successfully in both DHV and DHU mode.
2003-04-02DZ-11 (or the DZ-11 alike in the VS4000/VLC anyway) only interrupts whenJason Wright
the RX fifo goes from 0 -> 1 characters. If the FIFO is filled (eg. during autoconf where interrupts are cleared), the dz will never interrupt for rx again. Solution: drain the fifo on first open. ok hugh