summaryrefslogtreecommitdiff
path: root/sys/arch/mvmeppc/dev
AgeCommit message (Collapse)Author
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-10-31Use suser when possible. Suggested by miod@.Federico G. Schwindt
miod@ deraadt@ ok.
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-09-22M_ZERO -> bzero.Kenneth R Westerback
ok art@
2007-05-29Use atomic operations to operate on netisr, instead of clearing it at splhigh.Miod Vallat
This changes nothing on legacy architectures, but is a bit faster (and simpler) on the interesting ones.
2007-04-10``it's'' -> ``its'' when the grammar gods require this change.Miod Vallat
2006-03-12IPL_IMP -> IPL_VMBrad Smith
ok drahn@
2005-12-17Get rid of deprecated vm_{offset,size}_t types for good, use {p,v}{addr,size}_tMiod Vallat
instead; looked at millert@
2004-12-24{e,}intr{cnt,names} bye-bye.Miod Vallat
2004-11-19Be more conservative in openpic_enable_irq() and only reprogram the vectorMiod Vallat
register if it changes.
2004-11-19Better Raven PREP initialization, per the book, with an evil book mistakeMiod Vallat
corrected.
2004-11-19Better i8259 slave handling:Miod Vallat
- check for spurious interrupt conditions. - do not ack the slave irq on the master unless there are really no more interrupts to be serviced on the slave.
2004-11-18Tell MVME2600 and MVME2700 apart.Miod Vallat
2004-11-18Feature sync with macppcMiod Vallat
2004-11-15Compile with gcc 3.Miod Vallat
2004-07-14Switch to evcount interrupt counters.Miod Vallat
2004-05-15Be more careful when using hwirq[] values.Miod Vallat
2004-05-14Attach a working bugtty device - userland needs at least a console tty.Miod Vallat
2004-05-14Really working interrupt engine, at least on both 2600 flavours.Miod Vallat
2004-05-08Correct values for the pci_routes[] pci-to-mpic interrupt routing table,Miod Vallat
per the MVME2600APG.
2004-02-01More work in attempt to get interrupts working reliably:Miod Vallat
- do not update 8259 masks after every modification, but let the code responsible for the changes update it at the most appropriate time. - be sure to correctly acknowledge interrupts on the 8259. - and various cleaning. This still fails when interrupts come too fast, at the moment.
2004-01-30Some cleaning and sync to the macppc openpic code.Miod Vallat
No functional result.
2004-01-29Pretty printf.Miod Vallat
2004-01-29Print system type early in autoconf, as determined from the board statusMiod Vallat
register.
2004-01-29Map the raven, pcic, and isa/pci io space virtual rather than 1:1.Miod Vallat
2004-01-28Correctly protect against multiple inclusion...Miod Vallat
2004-01-28More clock handling cleanup:Miod Vallat
- move clock callbacks outside the firmware structure - map the clock virtual. A bit tricky because it needs to be mapped before autoconf... - compensate for the removal of 1:1 segment 8 mapping
2004-01-27viritual -> virtualMiod Vallat
2004-01-26Asking for a too short softc size in your cfattach structure is known toMiod Vallat
cause premature death in laboratory animals. Don't do that.
2004-01-26Mostly sync with other ppc-based ports. This should be factorized someday...Miod Vallat
2004-01-25Put the msr fiddling in the CTXT macros, and unset PSL_IR and PSL_DR whileMiod Vallat
invoking the PPC1Bug. From drahn@ in a previous life.
2004-01-25Get rid of ppc_[gs]et_msr(), use ppc_m[ft]msr() instead.Miod Vallat
2004-01-24Preserve SPRG0-SPRG3 around BUG calls, as required in the PPC1Bug UM;Miod Vallat
reminded by drahn@, thanks!
2004-01-14Do not fill more than the first three fields of cfdriver structures unlessMiod Vallat
necessary. No functional change.
2003-11-25Allow mvmeppc to compile again. not a supported arch.Dale Rahn
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-06-03terms 3 & 4 cleanup based on "terms" fileTheo de Raadt
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-02-11be consistant on Hz vs hzMichael Shalayeff
2002-06-12cnputc() will take care of the necessary cr->cr/lf translation, so don'tMiod Vallat
do it in those consoles either.
2002-06-08Strict prototypes, and some KNF touches while there.Miod Vallat
2002-06-08Strict prototypes, and fix mvmeprom_brdid interface.Miod Vallat
2002-06-08Fix device and console device prototypes.Miod Vallat
2002-03-14Final __P removal plus some cosmetic fixupsTodd C. Miller
2002-03-14First round of __P removal in sysTodd C. Miller
2002-02-15Don't cast nonexistent return value from splx to (void). ok art@Thomas Nordin
2001-11-06-Wall -Werror cleanup.Miod Vallat