summaryrefslogtreecommitdiff
path: root/sys
AgeCommit message (Collapse)Author
2008-08-21Rip out the remnants of the vblank signal stuff. Nothing uses it, andOwain Ainsworth
it's stupid anyway. Most of this was ifdefed out.
2008-08-21Instead of having a number of malloced arrays for vblank handling, justOwain Ainsworth
put them in a structure and malloc free an array of those, it is nicer that way and They're all needed at the same time, anyway. Idea taken from a suggestion on the dri-devel mailing list.
2008-08-21Fix 'if ();' construction introduced in last commit, okay deraadt@Pedro Martelletto
2008-08-20Minimal driver for the VAXstation 35x0/38x0 LEGSS option, currently limitedMiod Vallat
to 8 bit mode operation, and no color or accelerated features until I can find documentation about it. Speed is decent by VAX standards, except for scrolling, which is so abysmally slow one could see ZZ Top's beards growing while waiting for the screen to scroll...
2008-08-20Do not mask bit 0x80 in dzcngetc() - we run serial consoles in 8N1.Miod Vallat
2008-08-20Don't copy interesting parts of struct scsi_xfer to a read only internalMiod Vallat
ScsiCmd structure. Since we keep a pointer to the scsi_xfer nevertheless, we can get the information from it directly.
2008-08-20Attach led0 on ka60, and display system load on the front panel.Miod Vallat
2008-08-20If RI_FORCEMONO is set in ri_flags, build ri_devcmap as if it was a 1bppMiod Vallat
frame buffer.
2008-08-20Add USER_PCICONF so that pcidump can work.Joel Sing
Prompted by jasper@ ok miod@
2008-08-20Oops, previous console changes would initialize serial console on lines 0Miod Vallat
(e.g. on microVAXes) at 4800 bps as if they were keyboard lines.
2008-08-20Return EINVAL instead of '1' for invalid kq filters.Thordur I. Bjornsson
From NetBSD; OK art@, blambert@
2008-08-20Allow devices attaching at root (such as softraid) to be disabled in UKC.Miod Vallat
ok marco@ deraadt@
2008-08-19When failing to acquire the vnode lock in readdir_with_callback(), don'tPedro Martelletto
try to release it before returning, okay fgsch@ and tedu@.
2008-08-19Make it possible to enter ddb from the serial console.Mark Kettenis
ok miod@, deraadt@
2008-08-19Make it possible to enter ddb from the serial console.Mark Kettenis
ok miod@, deraadt@
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-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-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-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-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).