summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2008-08-19moreTheo de Raadt
2008-08-19syncTheo de Raadt
2008-08-19another rum; Jonathan LeeTheo de Raadt
2008-08-19add missing devices to nam2blk[]Theo de Raadt
2008-08-18Forgot to add this file, needing for KA60 support.Miod Vallat
2008-08-18Now that KA60 support is in, include the proper header files instead ofMiod Vallat
harcoding defines, and add rpb device type #39 (sii) boot information.
2008-08-18Add support for the ``Firefox'' VAXstation 3520/3540/3820/3840 workstations,Miod Vallat
currently limited to serial console and a single processor working. All ``on-board'' devices, including the Q-bus adapter, but except for the frame buffer, are supported. The machine will boot over the network or from SCSI devices. Lots of thanks to Al Kossow for www.bitsavers.org, on which I found the technical documentation allowing me to complete this port (which was lacking at the time I got that machine...).
2008-08-18Some uglyness to allow both uba_common.h and ubareg.h to be included;Miod Vallat
temporary until they get merged for good (or split differently).
2008-08-18Increment device interrupt event counter when redispatching an interrupt.Miod Vallat
2008-08-18Preparing for KA60 support, crank IPL_TTY to level 0x16 (since it isMiod Vallat
hardwired this way on KA60...), and compensate in splassert_check() when serial device interrupts will remain at 0x14 or 0x15.
2008-08-18Move common CVAX defines and code (internal cache IPR, SSC layout, machineMiod Vallat
check frame format...) to a single place. Get rid of duplicated KAxx_FOO constants.
2008-08-18Make hardclock() a cpu_dep member. Most machines will use the genericMiod Vallat
hardclock() here, except for KA46 which needs to reset the diagnostic timer. This gives us working clock interrupt counters for vmstat -i in the process.
2008-08-18Shuffle the dz console code (both serial and keyboard) to be more independentMiod Vallat
of the console device attachment, and to be able to work on system where there are more than one dz device of the same type, one of it being the console one. This also allows a different register layout than the dz@ibus one to be used for the dz console device.
2008-08-18regenBrad Smith
2008-08-18Add the PCI id for the Broadcom BCM5716 Ethernet controller.Brad Smith
2008-08-18Add stge(4) and gentbi(4).Mark Kettenis
2008-08-18Updates from master repo: Fix two bugs reported by Art Grabowski.Anders Magnusson
2008-08-18Add sparc_bus_addr function for schizo to allow CardBus to work.Brad Smith
ok kettenis@
2008-08-18use M_NOWAIT instead of M_WAITOK to cause malloc() to return NULLKevin Lo
ok mglocker
2008-08-18Another dead struct member.Owain Ainsworth
2008-08-17kill struct drm_freelist, after removing markbufs and infobufs nothingOwain Ainsworth
touches it.
2008-08-17Kill a dead function and a dead struct member.Owain Ainsworth
2008-08-17Check that the driver properly initialised before allowing agp_acquire()Owain Ainsworth
to succeed. Inspired by Tobias Ulmer, thanks!
2008-08-17Check the return value of agp_enable() instead of assuming it completed.Owain Ainsworth
apply some knf and other formatting while i'm at it. problem originally pointed out by Tobias Ulmer, thanks!
2008-08-17Kill the infobufs and markbufs calls. Nothing uses them.Owain Ainsworth
2008-08-17Updates from master repo. Can now compile both userland and kernel.Anders Magnusson
(with some patches...)
2008-08-17kill the stupid pci capability defines, we have our own. Don't wrapOwain Ainsworth
pci_read_capability while i'm at it.
2008-08-17drm_load() and drm_unload() are a remnant of code meant to be sharedOwain Ainsworth
between the bsds. Just put them in attach/detach instead. Kills a little bit of dead code, too.
2008-08-17Scale down cpu_clockrate[1] when we scale down the cpu clock frequency suchMark Kettenis
that delay(9) continues to do the right thing.
2008-08-17Kill some redundant ifdefs, they're taken care of elsewhere.Owain Ainsworth
2008-08-17Force fdisk to use the same geometry as the miniroot2.5M disktabKenneth R Westerback
entry, the one that the disklabel will use, rather than the vnd default geometry. Lets the generated miniroot44.fs boot again. Problem found by Diana Eichart. Suggestions from drahn@. ok deraadt@
2008-08-17Make sure we can't sleep with a spinlock heldOwain Ainsworth
2008-08-17Garbage collect stupid delay loop.Mark Kettenis
2008-08-16If dwMaxPayloadTransferSize doesn't exactly match to an existingMarcus Glocker
endpoint, pick the next higher endpoint bandwidth.
2008-08-16Spacing.Marcus Glocker
2008-08-16Sync ehci isochronous part with NetBSD:Marcus Glocker
- Fix check for maximum bInterval value. - Calculate frames/microframes values slightly different (but with mostly same result finally).
2008-08-16fixMarc Espie
2008-08-16revert eval.cMarc Espie
2008-08-16not yet, committed too muchMarc Espie
2008-08-16argument parsing should only skip spaces outside of parenthesis.Marc Espie
Inside matching parenthesis, keep spaces as is (use chrsave instead of pbstr, since there's no way it can be a further macro expansion). Fixes a long-standing issue with autoconf ( --option -> --option), matches other m4 than gnum4 okay millert@, fries@
2008-08-16be more liberal in include handling, namely we only error out if it'sMarc Espie
the end of the last included file AND we still have a macro to expand. autoconf uses this in wine, and it turns out other m4 also do things that way (not only gnu m4). okay fries@, millert@
2008-08-16another issue for which I have a patch.Marc Espie
Issue reported by Vortechz Anderson <utg_vrtz@yahoo.se>
2008-08-16a new regression test, I has a diff for it.Marc Espie
2008-08-16Apply a light paddling with the knf stick. No binary change.Owain Ainsworth
2008-08-16bios_dev -> ba_name and bios_apmp -> ba_apmp in DPRINTF statements.Kenneth R Westerback
i386 kernels compile with BIOS_DEBUG again. Spotted by Mathias Schmocker.
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-08-15Fix array index computation in the machine check handler. Gives fatal bus errorsMiod Vallat
a chance to be reported correctly...
2008-08-15In dzcninit(), do not forget to enable the receiver in addition to theMiod Vallat
transmitter. On machines with glass console for which we do not have a driver yet, and fall back to serial console, the PROM might not have enabled it.
2008-08-15Move the vxt-specific clock functions frow clock.c to the cpu-specific supportMiod Vallat
file, fewer #ifdef this way.
2008-08-15Correct disassembly of the start of a function: fix display layout and skipMiod Vallat
only the 2 bytes of the procedure entry mask, not 4 bytes.