summaryrefslogtreecommitdiff
path: root/sys/arch/alpha
AgeCommit message (Collapse)Author
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-11-07Blink leds on the DEC 3000 models (three different led types).Miod Vallat
2009-11-04Get rid of __HAVE_GENERIC_SOFT_INTERRUPTS now that all our platforms support it.Mark Kettenis
ok jsing@, miod@
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.
2009-10-26Do not do strncmp comparisons on dv_xname because longer device names whichTheo de Raadt
look similar could arrive in the future. Instead, compare directly against dv_cfdata->cf_driver->cd_name Issue originally spotted by miod
2009-10-19Correct a target name so that we don't rebuild vers.o (and thenPhilip Guenthe
bsd) unless some other object has changed. Rebuild and reinstall in /usr/src/usr.sbin/config/ after updating! "I like it" deraadt@
2009-10-02Support for DS15/DS25/ES45 (Titan) alpha models (rpb family 38). These systemsMiod Vallat
are very close to the Tsunami systems (rpb family 34) and share the existing Tsunami code; the tsc(4) Tsunami controller code is extended to handle the Titan differences, except for the Titan AGP GART which is left unsupported for now. Tested to not cause regressions on DS20 (deraadt@) and ES40 (miod@). Titan support tested by Sergey Prysiazhnyi on DS25, many thanks for your time!
2009-10-02Link the kernel at a higher physical address, in order to accomodate SRMMiod Vallat
with larger footprint than the usual 2MB, as encountered on some of the most recent alpha systems. Tested on many models (DEC 3000, PC164, AS500, ES40, and more)
2009-10-02Some 21264CB pass information, from information provided by Sergey Prysiazhnyi.Miod Vallat
2009-10-01Needs memcpy in bootxx now, forgotten in previous getenv change.Miod Vallat
2009-09-30Fix various off-by-ones in irq number validation.Miod Vallat
2009-09-30Remove unused last argument of alpha_shared_intr_disestablish().Miod Vallat
2009-09-30Some old SRM require 8-byte alignment of the buffer passed to the promMiod Vallat
getenv routine, so fulfill this requirement. From NetBSD. (Note this only concerns the boot blocks, as the kernel itself uses extremely well aligned addresses for getenv calls).
2009-09-30Get rid of prom_open() and implement it directly as a prom_dispatch() wrapper,Miod Vallat
necessary for some old SRM version. From NetBSD.
2009-09-30Clear sticky error status after recoverable machine check.Miod Vallat
From FreeBSD.
2009-09-30Fix MDDT_NONVOLATILE value, it's 10 binary, not 10 hexadecimal.Miod Vallat
While there, add two more RPB system type values.
2009-09-30One missing print -> DPRINTF conversion in dec_kn300_device_register()Miod Vallat
2009-09-27adjust comments; eephy isn't just for Intel GigE. From Brad.Stuart Henderson
2009-09-25Fix the value of one voltage sensor in ev6 environmental machine checks.Miod Vallat
2009-09-24Link alpha kernels with an ld.script to discard unwanted sections; thisMiod Vallat
allows us to no longer need to compile with -finhibit-size-directive, which in turns allows the (future) use of !samegp relocations by as(1). ok kettenis@
2009-09-17Fail bus_space_map() calls if the flags can't be honoured (such asMiod Vallat
BUS_SPACE_MAP_LINEAR in i/o space, or noncacheable linear TURBOchannel mappings). From NetBSD
2009-09-17Return a dense mapping for BUS_SPACE_MAP_PREFETCHABLE mappings; repairesMiod Vallat
tga on non-bwx machines. Reported and fix tested by kurt@
2009-09-01Fix: alpha DEBUG kernel failed to compileAriane van der Steldt
ok miod, deraadt
2009-08-24- fix format strings for values that are daddr64_tJasper Lievisse Adriaanse
ok otto@, agreed by deraadt@
2009-08-22Constify the what/name parameter of pci_intr_establish().Michael Knudsen
Tested by myself, sthen, oga, kettenis, and jasper. Input from sthen and jasper. ok kettenis (Manpage follows shortly.)
2009-08-13Replace the error strings that were being passed around with much simplerTheo de Raadt
errnos. Note that the error strings are being ignored, since we long ago decided to not spam the console, and there is no other nice way to use the errors (without changing the ioctls to pass it back) The errno is now useful, since we can pass b_error from failing IO up, and the drive can decide how to use that ok miod
2009-08-13wire vscsi up to a cdevDavid Gwynne
for claudio@ ok deraadt@
2009-08-13A new(er) mtx_enter_try().Tobias Weingartner
Ok oga@, "the time is now" deraadt@.
2009-08-11Do not bother initializing bufpages in the md code if the computation isMiod Vallat
exactly the same the mi could will use if bufinit() is invoked with bufpages == 0.
2009-08-11With the SysV memory allocation changes, allocsys() doesn't do anythingMiod Vallat
anymore. Get rid of it completely.
2009-08-11uvm_scheduler() sounds important, but ``while(1) tsleep()'' is kinda lameBret Lambert
inline the loop in the one place it exists, and remove it from uvm adjust a comment mentioning it accordingly originally inspired by a diff fixing a comment from oga@ ok art@ beck@ miod@ oga@
2009-08-09Introduce option DDB_STRUCT. Kernels compiled with this option (except onMiod Vallat
a few arches where toolchain limitations apply) will embed some symbolic information about the various structs used within the kernel, and have new ddb commands allowing struct display and some useful information gathering. Kernel rodata increase varies accross platforms from ~150KB to ~300KB. This option is not enabled by default.
2009-08-09Rototill system V message queues.Bret Lambert
No longer allocate a static amount of memory for messages in MD boot path; message queues, message metadata, and message data now all use dynamic memory, which means that runtime sysctls should now be trivial to implement. Since I'm going to be around all week to fix any breakage, this should probably just go in now.
2009-07-30Get rid of the obsolet BUS_BARRIER_xxx constants for bus_space_barrier(), onlyMiod Vallat
provide and use BUS_SPACE_BARRIER_xxx.
2009-07-26Make sure all platforms understand the flags argument of bus_space_map() andMiod Vallat
bus_space_alloc() as a bitmask of flags, and not a boolean controlling cacheability; and make sure the three MI BUS_SPACE_MAP_xxx values documented in the manual page are defined on all platforms as well.
2009-06-25fxp no longer fits on this mediaTheo de Raadt
2009-06-24enable softraidTodd T. Fries
test built and booted by me ok marco@, deraadt@
2009-06-24for the isp(4) driver, invert the meaning of the options which pullTheo de Raadt
firmwares into the smaller (and larger) media ok krw
2009-06-21fix rcs ids. ok sthen@Martynas Venckus
2009-06-04Recycle four ancient fields in the disklabel structure, replacing them withTheo de Raadt
bounds information, ie. the zone of the disk that OpenBSD can use. Have each pre-disklabel parser (MBR, DPME, or per-arch MD disklabel parsers) figure out this area and pass it up to userland. Then, delete all the same disk parsing code from disklabel(8) since the kernel passes it up. Lots and lots of - signs in the disklabel(8) code. Tested on as many platforms as possible, the fallout will be repaired as time goes on. To test, use disklabel -d <drive> and validate that the bounds do not overlap any boot blocks. This same information is used by disklabel -A... OK for the concept from krw, miod, and drahn
2009-06-03Arla client rename from xfs to nnpfs for later upgrades. Tested on various ↵Janne Johansson
arches. ok todd@ beck@
2009-04-28put vlan support onto these mediaTheo de Raadt
2009-04-27Revert mtx_enter_try. It didn't compile on hppa, it doesn't compile onMark Kettenis
landisk, and the sparc implementation is obviously wrong. That's where I stopped looking, so who knows what else was broken. A simple comparison of the existing mtx_enter with the new mtx_enter_try would have told anybody.
2009-04-25Enter mtx_enter_try. In part for completeness, things may startTobias Weingartner
using this soon(ish). Ok oga@, sorta yes kettenis@.
2009-04-25Strengthen the constraints of the atomic operations assembly statementsMiod Vallat
to make sure the register holding the ld_l and st_c addresses doesn't get reused when gcc's register allocator is too aggressive.
2009-04-20Add a BUS_DMA_ZERO flag for bus_dmamem_alloc() to return zeroed memory.Owain Ainsworth
Saves every damned driver calling bzero(), and continues the M_ZERO, PR_ZERO symmetry.
2009-04-19For consistency, make sure that all archs that use the same patternOwain Ainsworth
always increment uvmexp.softs while inside the lock. While i'm here, make alpha's dispatch loop look like the rest. "sure" miod@
2009-04-14Convert the waitok field of uvm_pglistalloc to "flags", more will be added soon.Owain Ainsworth
For the possibility of sleeping, the first two flags are UVM_PLA_WAITOK and UVM_PLA_NOWAIT. It is an error not to show intention, so assert that one of the two is provided. Switch over every caller in the tree to using the appropriate flag. ok art@, ariane@
2009-03-30bzero pci attach argsMark Kettenis