summaryrefslogtreecommitdiff
path: root/sys/arch
AgeCommit message (Collapse)Author
2008-09-01Avoid #pragma pack(1) and unify everything towards using __packed.Theo de Raadt
This requires that structures defined within __packed structures must independently request that they themselves become __packed, too. worked on with toby CVS: ----------------------------------------------------------------------
2008-09-01Bring comment into line with reality. We use sgi label info but don'tKenneth R Westerback
create just partitions 'i' -> 'l'. jsing@ had noted same discord.
2008-09-01Allow sgi to spoof the native label. But don't spoof when justKenneth R Westerback
looking for the place to write the disklabel, i.e. partoffp != NULL. tested & ok jsing@
2008-08-30replace TRUNC_PAGE by trunc_page and ROUND_PAGE by round_pageMartin Reindl
plus cast to vaddr_t where necassary from Miod's todo list ok miod@
2008-08-30Code refactorization and state structure changes in preparation of asynchronousMiod Vallat
abort commands, needed to eventually support command timeouts for non-polled commands... no functional change.
2008-08-30no need to include uvm/uvm.h twiceMartin Reindl
2008-08-28Driver for Acer Labs M5455 integrated sound found on recent Ultra workstations.Mike Belopuhov
Suggestions and corrections by kettenis, ratchov, jakemsr. Thanks a lot! Recording doesn't work at the moment. ok kettenis ratchov
2008-08-28- enable uvideo on sgi, it's working for me with a quickcam e 3500 plusJasper Lievisse Adriaanse
ok mglocker@
2008-08-26Stylus pressure sensor is active low, so invert the logic converting itMiod Vallat
to button #5.
2008-08-26When using the not-documented-but-ought-to 'boot sd(...)file' syntax (e.g.Miod Vallat
when mopbooting the bootblocks because one trashed the ones on disk by accident), be sure to use the proper BDEV_SDx rpb device type value, depending on the type of onboard controller. Crank version.
2008-08-25- add a bunch of enabled usb devices that have been tested.Jasper Lievisse Adriaanse
together with the previous commits by jsing@, OpenBSD/sgi does USB now. ok jsing@ miod@
2008-08-25Make sgivol(8) use the device sector size for reads and writes. This allowsJoel Sing
us to use sgivol on devices which have a sector size != DEV_BSIZE, such as a CD drive. ok miod@ krw@
2008-08-25Add bus_space_read_raw_region_* and bus_space_write_raw_region_* bus spaceJoel Sing
accessors to OpenBSD/sgi. ok miod@
2008-08-25Add device majors for USB character devices in OpenBSD/sgi.Joel Sing
ok miod@ jasper@
2008-08-25Unbreak.Joel Sing
ok miod@
2008-08-25how about i commit what was actually approved? wrong tree, bad todd ;-(Todd T. Fries
2008-08-24o implement proper volume control table based on chipset docsTodd T. Fries
o attempt to make record work (but silence for now) from drahn@, ok maja@, drahn@
2008-08-24many more devices for the RAMDISKTheo de Raadt
2008-08-24Define a proper wsdisplay type for legss(4).Miod Vallat
2008-08-24Correct eisa i/o ports layout structure, this has probably been brokenMiod Vallat
when switching from gcc 2.95, if not forever.
2008-08-24vsbus machines also have modem control bits on line #2, no need to fake them.Miod Vallat
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-24Correct dmesg, do not mention dz is the console device if running withMiod Vallat
glass console.
2008-08-24Fix readdpmelabel() so it doesn't corrupt a disklabel about to beKenneth R Westerback
written (i.e. partoff != NULL), and doesn't corrupt a disklabel with more than eight (8) dpme partitions. Problems reported by Josh Elsasser via PR#5904. Testing by Josh, otto@, drahn@, maja@, kettenis@. Most of the diff from otto@. ok drahn@
2008-08-24surplus semicolon on if statementJonathan Gray
2008-08-23Slight speed improvement by using byte accesses on word boundaries for allMiod Vallat
frame buffer memory operations, instead of word access on word boundaries.
2008-08-23Pick the correct host adapter id from nvram.Miod Vallat
2008-08-22Let lkms(4) support VSXXX-AB tablets in addition to the mice it alreadyMiod Vallat
supports, based on appendix C and D of the VCB02 (qdss) technical manual. Also parse the selftest results and report device errors. Not tested on actual tablet due to the lack of any; mouse operation is not disturbed.
2008-08-22Instead of spewing error messages about link status, support link statusTheo de Raadt
like all drivers should ok miod
2008-08-22Set PIE address range to avoid or minimize mmap pressure due to limitedKurt Miller
address space. The space between PAGE_SIZE and the non-pie fixed link address creates no mmap pressure so use that space for PIE. However on hppa the non-pie fixed link address is PAGE_SIZE so just use a small range for PIE to minimize mmap pressure. okay miod@
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-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-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-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-18Add stge(4) and gentbi(4).Mark Kettenis