Age | Commit message (Collapse) | Author | |
---|---|---|---|
2009-04-12 | Interrupt support for IOC3 and its subdevices (currently limited to the | Miod Vallat | |
SuperIO part, the Ethernet part needs a whole driver); kernel now boot single user (or bsd.rd). Joint work with jsing@ | |||
2009-04-12 | Add code to prevent the MI pci code to cause IOC3 devices to freeze and | Miod Vallat | |
hog the bus, and also to fake a valid interrupt register. The IOC3 device is not a PCI device at all, but pretends to be one. Except its own registers overlap the PCI configuration space, and some flavours do not support disabling memory space in the control register, violating the PCI specs. Fun. | |||
2009-04-12 | Needs <machine/atomic.h> to compile. | Miod Vallat | |
2009-04-12 | Get com console global variables from <dev/ic/comvar.h> instead of declaring | Miod Vallat | |
them manually. | |||
2009-04-12 | Better constraints on the temporary register in atomic_{set,clear}bits_int. | Miod Vallat | |
2009-04-12 | need nvram to link; ok miod | Theo de Raadt | |
2009-04-12 | Move code handling Machine Descriptions out of the cbus(4) driver. | Mark Kettenis | |
2009-04-11 | Create extents for resource accounting on the root PCI bus and populate them | Mark Kettenis | |
based on the BIOS memory map. | |||
2009-04-11 | There is no support for building multi-socket machines in AMD Family 11h | Mark Kettenis | |
processors, so the registers to configure addition HyperTransport links are absent. Don't try attaching addition pci busses on these processors to avoid probing non-existant registers. | |||
2009-04-10 | Catch up with sparc changes (bcopy fix, struct cpuinfo, etc); still dies early | Miod Vallat | |
with so-called ``external memory fault'' which cause I can't figure out. | |||
2009-04-10 | Don't blindly dereference a NULL pointer when the boot device is not known. | Miod Vallat | |
2009-04-10 | Use soft interrupts to dispatch pcmcia device interrupts; this ensures the | Miod Vallat | |
driver handlers get invoked at the right level. Parts from NetBSD. | |||
2009-04-10 | generic soft interrupts support for sparc. Soft interrupt handlers are now | Miod Vallat | |
kept in a separate intrhand array, with their own enable bits so that soft interrupts sharing the same level only get invoked if really triggered. Inspired by NetBSD with significant changes. ok kettenis@ | |||
2009-04-10 | When deciding whether a sti@pci board is the console, compare all valid BAR | Miod Vallat | |
addresses against PAGE0 information, instead than only the BAR mapping sti region #0; on Visualize FXe, PAGE0 will point to another BAR and we would not recognize the display as the console device. Tested on Visualize FX4 (on C240), Visualize EG (on B1000) and Visualize FXe (on B2000). | |||
2009-04-10 | fix typos introduced | Theo de Raadt | |
2009-04-09 | in bus_dmamap_load_raw, only map the requested number of bytes into the | David Gwynne | |
dmamap rather than all the bytes that are described by the sg list we're mapping. tested on iwn by me and beck@ | |||
2009-04-09 | unrevert marco's revert of my bus_dmamap_load_raw change now that i found | David Gwynne | |
the bug in it. bugfix will be committed next. make bus_dmamap_load_raw respect the constraints of the dmamap we're loading the raw memory into, particularly the segment size constraint. | |||
2009-04-08 | Cleanup arm soft interrupt handling; remove the unused IPL_SERIAL and rename | Mark Kettenis | |
IPL_SOFTSERIAL to IPL_SOFTTTY. tested by oga@ ok miod@ | |||
2009-04-08 | Rever _raw change from dlg because it breaks iwn. | Marco Peereboom | |
ok oga | |||
2009-04-07 | Eliminate useless loop over partitions and ignore zero length | Kenneth R Westerback | |
partitions in bsd_to_sun(), even if their offsets are nonsense. Theo says if sparc64 compiles so will sparc. Fixes some useless disklabel warning messages. ok miod@ deraadt@ | |||
2009-04-06 | Remove the only (commented) instance of UVM_PAGE_INLINE from the tree | Owain Ainsworth | |
now that it has been removed. uncommenting that would not even have been the correct way to enable it. ok miod@ | |||
2009-04-05 | In the rare case where after we've loaded the iomap into the hardware, | Owain Ainsworth | |
if we fail while assembling the dmamap due to the memory not fitting into our constraints we'll return from the function with the iomap still loaded, and more importantly with memory still allocated from the extent(9). So in such a case, make sure we clean up after outselves. In order to make this cleaner, remove an impossible condition check (kettenis and myself are satisfied that it will never happen), and make iomap_load_map void (it can't fail), so that we can only fail after both the extent is allocated and the iomap is loaded, and not inbetween the two. I tested iommu, kettenis tested viommu. ok kettenis@. | |||
2009-04-04 | Bump the size of the array that we use to store bootpath components. Makes the | Mark Kettenis | |
t5120 and similar systems boot from our install CD-ROM. | |||
2009-04-04 | Remove an unused function inherited from NetBSD that deals with a broken | Mark Kettenis | |
SiS chipset that we'll never see on and amd64 machine. ok oga@ | |||
2009-04-04 | Remove unused #include. | Mark Kettenis | |
2009-04-04 | make bus_dmamap_load_raw respect the constraints of the dmamap we're | David Gwynne | |
loading the raw memory into. similair to the change made to src/sys/arch/amd64/amd6/bus_dma.c 1.18 | |||
2009-04-04 | make bus_dmamap_load_raw respect teh constraints of the dmamap we're | David Gwynne | |
loading the raw memory into, particularly the segment size constraint. written in june/july last year, but my studies held me back from handling it. | |||
2009-04-04 | Cleanup debug printfs. | Mark Kettenis | |
2009-04-04 | Cleanup debug printf. | Mark Kettenis | |
2009-03-31 | bzero pci attach args | Mark Kettenis | |
2009-03-31 | bzero pci attach args | Mark Kettenis | |
2009-03-31 | - remove obsolete comment | Artur Grabowski | |
- remove dead (#if 0) code - move switch_error panics to after cpu_switchto to make branch prediction happier and the code more readable. no functional change | |||
2009-03-30 | bzero pci attach args | Mark Kettenis | |
2009-03-30 | bzero pci attach args | Mark Kettenis | |
2009-03-30 | bzero pci attach args | Mark Kettenis | |
2009-03-30 | make the code look the same; ok kettenis | Theo de Raadt | |
2009-03-30 | don't use pmapflags unitialized. Fixes envy(4) consuming 80% CPU | Alexandre Ratchov | |
when recording ok oga, deraadt | |||
2009-03-30 | Remove the direct uncached map. All its users have been removed. | Owain Ainsworth | |
In the future, we need to mark the correct parts of the direct map uncached, but that's another diff. art@, kettenis@ ok. | |||
2009-03-30 | bzero pci attach args | Mark Kettenis | |
2009-03-30 | bzero pci attach args | Mark Kettenis | |
2009-03-30 | bzero pci attach args | Mark Kettenis | |
2009-03-30 | bzero pci attach args | Mark Kettenis | |
2009-03-29 | bzero pci attach args | Mark Kettenis | |
2009-03-29 | bzero pci attach args | Mark Kettenis | |
ok deraadt@, miod@ | |||
2009-03-29 | Enable ahc(4). | Mark Kettenis | |
2009-03-29 | make various strings ("can't map mem space" and similar) more consistent | Stuart Henderson | |
between instances, saving space in the kernel. feedback from many (some incorporated, some left for future work). ok deraadt, kettenis, "why not" miod. | |||
2009-03-29 | When trying to get the console font metrics and window position, we can | Miod Vallat | |
always retrieve the font metrics, even on older (< 2.9) prom, so do it. | |||
2009-03-27 | When clearing soft interrupts on sun4m, be sure to force the bit clear to | Miod Vallat | |
be acked by the hardware before continuing; this makes Ross systems stable when using hme; from NetBSD. | |||
2009-03-27 | convert iopiic lockmgr to rwlock. | Owain Ainsworth | |
ok drahn@, sthen@ tested. | |||
2009-03-27 | convert arm apm lock to rwlock. | Owain Ainsworth | |
ok drahn@, todd@ tested. |