summaryrefslogtreecommitdiff
path: root/sys/arch
AgeCommit message (Collapse)Author
2007-04-09Re-enable art(4); mglocker@'s e250 is perfectly happy with larger kernels now.Mark Kettenis
2007-04-09Unbreak the tree.Mark Kettenis
2007-04-09Seperate rtc(4) code out into its own file. Add support for catching theMark Kettenis
power button interrupts on ds1287 models. The hardware will stil power off automatically about 20 seconds after the power button is pressed, but we get a decent chance at doing a clean shutdown before that. "a good start" deraadt@
2007-04-09Fix (unused) extintr_disable_by_num behaviour, and make vmstat -i outputMiod Vallat
provide the correct irq numbers.
2007-04-08ral(4) reported to work on sparc64 by Maxim Belooussov <belooussov@gmail.com>Jonathan Gray
so enable it.
2007-04-07Remove unused variable.Mark Kettenis
2007-04-07USECPERSEC is no longer used.Mark Kettenis
2007-04-07Replace code that tries to find the boot device by pretending to walk theMark Kettenis
device tree and matching locators in the bootpath string components with code that tries to match the PROM node of the devices to bootpath components. This way we don't need a list of possible boot devices that needs to be tweaked whenever we try to support new Sun hardware (or when dlg plugs a new fancy storage controller in a sparc64 machine). Tested by many.
2007-04-07Replace code that tries to find the boot device by pretending to walk theMark Kettenis
device tree and matching locators in the bootpath string components with code that tries to match the PROM node of the devices to bootpath components. This way we don't need a list of possible boot devices that needs to be tweaked whenever we try to support new Sun hardware (or when dlg plugs a new fancy storage controller in a sparc64 machine). Tested by many.
2007-04-06Add support for PCIe. Don't map interrupts that are already mapped correctly.Mark Kettenis
Tested by deraadt@, nick@, sturm@, naddy@ and others.
2007-04-05Fix a comment. 64KB is enough for the cpu_info structure. 64MB would be aClaudio Jeker
bit lavish. OK jason@
2007-04-05Fix interrupts.Mark Kettenis
2007-04-05Disable interrupts around bit operations for propert atomicity against them.Miod Vallat
2007-04-05Wrap bit operations between splhigh()/splx() for atomicity wrt interrupts.Miod Vallat
Not enough for multiprocessor, but we're not there yet anyway.
2007-04-05Reuse symbolic values for splsoftXXX() inlines, instead of hardcoding them.Miod Vallat
No functional change.
2007-04-05splx() does not need to return a value.Miod Vallat
2007-04-05delete userland DELAY() version; ok miodTheo de Raadt
2007-04-04Enable pyro(4) and ebus(4) at mainbus(4). Reorder bus drivers such thatMark Kettenis
the order in GENERIC and RAMDISK is identical.
2007-04-04Correctly set the TSB size on pyro(4).Mark Kettenis
2007-04-04Add support for ebus at mainbus, as found on machines with pyro(4) like theMark Kettenis
v215.
2007-04-04Add support for ebus at mainbus, as found on machines with pyro(4) like theMark Kettenis
v215.
2007-04-04Mechanically rename the "flags" and "version" fields in struct vm_pageArtur Grabowski
to "pg_flags" and "pg_version", so that they are a bit easier to work with. Whoever uses generic names like this for a popular struct obviously doesn't read much code. Most architectures compile and there are no functionality changes. deraadt@ ok ("if something fails to compile, we fix that by hand")
2007-04-04Thinkpad -> ThinkPad; from Igor SobradoJason McIntyre
ok millert jasper mbalmer
2007-04-03Match su16552.Mark Kettenis
2007-04-03Add iommu glue.Mark Kettenis
2007-04-03A fix for smp old world macs such as the 9500MP and 9600MP which lack theGordon Willem Klok
/cpus openfirmware node of the new world macs, and only have one cpu node. We look at a register of the memory controller called hammerhead for the arbitration bit being set indicating a two way machine. Quad processor old worlds made by e.g. Daystar Digital would require a different heurisitic. This heuristic comes from linux/netbsd. ok kettenis@ and drahn@
2007-04-03Make the ast on i386 per-process instead of per-cpu. This makesArtur Grabowski
signal delivery more reliable in some cases when a process switches cpu. kettenis@ ok
2007-04-02unmapiodev() takes the va as its first argument, not the pa.Mark Kettenis
ok gwk@
2007-04-02Remove bogus code. Turning on parity for pci busses may be a good idea, butMark Kettenis
this is not the way to do it. And given the way Sun host bridges crap out upon access to pci config space for nonexistent devices, this code is rightout harmful for machines where device 0 isn't present on some busses. Tested by many; ok deraadt@
2007-04-02Return EFBIG in case not enough segments are present to load a DMA requestClaudio Jeker
instead of ENOMEM and remove/shortcut the additional debug printfs. Some network drivers will try to load the mbuf chain and linearize the mbufs if EFBIG is returned. OK miod@ kettenis@
2007-04-01Add code to establish interrupts.Mark Kettenis
2007-04-01Shift pci tags for PCIe.Mark Kettenis
2007-04-01Provide (non functional) dma tag.Mark Kettenis
2007-04-01Shift tags when converting them into an address offset. Necessary to supportMark Kettenis
access to PCIe config space, which is larger than normal PCI config space.
2007-04-01Fix DEBUG built.Mark Kettenis
ok art@
2007-04-01Remove some leftovers from the userret cleanups.Artur Grabowski
No need to save sticks anymore. miod@ ok and test
2007-03-31do nbuf constraint based on KERNEND/KERNBASE to avoid integer overflow from ↵Theo de Raadt
new giant sparc64 kvm; ok kettenis, tested by pooleb
2007-03-31Map PCIe config space.Mark Kettenis
2007-03-31Fix DEBUG.Mark Kettenis
2007-03-31Make sure we not to match secondary cpu's on non-MP kernel. I accidentallyMark Kettenis
didn't commit this bit, so it is still ok drahn@, gwk@.
2007-03-31Detect secondary cpu's. Get rid of legacy ofroot code.Mark Kettenis
ok drahn@, gwk@
2007-03-30Add commented out entries for pyro(4).Mark Kettenis
2007-03-30First stab at a driver for the Host/PCIe bridge found on the Sun FireMark Kettenis
v215/v245/v445 systems.
2007-03-29Add power hook to scoop(4), replacing the Zaurus-specific scoop_* calls inUwe Stuehler
pxa2x0_apm.c. Set a flag to indicate that scoop is currently suspended. Test this flag in scoop_timeout() (and maybe later in other places) to avoid manipulating scoop registers while the driver is suspended. The scoop_checkdisk timeout is intentionally not stopped, as it should be safe to have timeouts running accross suspend/resume. Put splhigh() in scoop_gpio_pin_write() to make changing the pin level an atomic operation. Result of prodding and diffs from Robert and Theo.
2007-03-29ignore various i2c seeproms that sun puts on all their machine parts; ok ↵Theo de Raadt
miod kettenis
2007-03-29Enable acx(4) as it is finally working on bigendian boxes. OK deraadt@Claudio Jeker
2007-03-29Comment fixes from Daniel Dickman <didickman AT gmail DOT com>, relevant changesGordon Willem Klok
for amd64 added by myself and while here nuke some whitespace.
2007-03-29Equiv diff to amd64 as was done on i386, bump VM_PHYSSEG_MAX. Amd64 areTobias Weingartner
PCs too... Tested by dlg@ and brad.
2007-03-28disk addresses are in hex, not decimal. makes my LSILogic,sas@3/disk@13David Gwynne
correctly match target 19. ok deraadt@
2007-03-28Bump max number of physical segments. Machines in the wildTobias Weingartner
seem to have reached this limit. ok marco@, looks ok ckuethe@