summaryrefslogtreecommitdiff
path: root/sys
AgeCommit message (Collapse)Author
2007-12-23In pmap_dumpmmu(), account for the fact that we use 4MB mappings for text andMark Kettenis
data segments. This makes the complete mappings available in kernel dumps.
2007-12-23Look for environment controller first, and access ITE SuperIO address/dataOleg Safiullin
ports only if we found one. Fixes possible issues with some notebook chipsets. ok deraadt@ tested by me, jcs@ and Rodolfo Gouveia
2007-12-23use sizeof where neededTheo de Raadt
2007-12-23Remove DMMU_MISS_2; it's identical to DMMU_MISS.Mark Kettenis
2007-12-23protect the disk statistics with a mutex.David Gwynne
ok tedu@ kettenis@
2007-12-22remove an obsolete comment art spottedTed Unangst
2007-12-22Make sure we have a real stack when invoking getipl() during exceptions.Miod Vallat
Fits in the brown-paperbag bug category.
2007-12-22Move initial PSR initialization to a separate routine, instead of duplicatingMiod Vallat
it five times.
2007-12-22Enable branch prediction on MC88110 revision 5 and later, since we canMiod Vallat
workaround errata #1 differently on these models.
2007-12-22Replace _bus_dmamap_load() with an implementation based onMark Kettenis
_bus_dmamap_load_buffer() like everybode else does.
2007-12-22Reset the MAC filter if we stop the device, so no frames are acceptedMarcus Glocker
anymore.
2007-12-22syncTheo de Raadt
2007-12-22more qlogic productsTheo de Raadt
2007-12-21Change the EF_xxx constants to be real offsets within the trapframe, insteadMiod Vallat
of offsets / sizeof(register_t), and nuke the REG_OFF macro. No functional change.
2007-12-21Don't panic if someone inserts a CardBus slot for which we disabled CardBusMark Kettenis
support; print a properly formatted message instead. ok jsing@
2007-12-21Add a hack to discover all devices on (some) K-class servers.Mark Kettenis
2007-12-21Don't use getpropstring to get the CPU model name; it's evil. Instead, rely onMark Kettenis
the name passed in struct mainbus_attach_args.
2007-12-20Get rid of disable_interrupt() and have caller use get_psr() and set_psr();Miod Vallat
this allows us to get rid of the dependency of asm_macro.h on asm.h, which was really only there to bring in psl.h.
2007-12-20Do not protect this file with _KERNEL; other header files which include it do itMiod Vallat
in a _KERNEL-only section, and we want to eventually be able to use it from the bootblocks.
2007-12-20Print the VME vector number used when attaching.Miod Vallat
2007-12-20Flush the source page before copying in pmap_copy_page(). This should notMiod Vallat
be necessary, but not doing it appears to break 88204 (not 88200) and split CMMUs.
2007-12-20Do not wait for the end of the universe if delay(0).Miod Vallat
2007-12-20More minor TX fixing (still sucks). Add more debug info and leave debugMarcus Glocker
mode on for now.
2007-12-20increment the match/nomatch table counters when using a table/pool inReyk Floeter
rdr rules. this helps to get some statistics about l3 redirections. ok henning@
2007-12-20Remove an obsolete nfs kludge, spotted by Frank Denis (many thanks), also ↵Charles Longeau
there in NetBSD and FreeBSD trees. Tested by thib@ who found that it shaved 18min wall clock time of coping a 20G file. Been in snaps for some time "looks ok" markus@ "makes sense" blambert@ ok claudio@ thib@
2007-12-20Get rid of __HAVE_PCCBB_ATTACH_HOOK.Mark Kettenis
2007-12-20Add an empty pccbb_attach_hook.Mark Kettenis
2007-12-20Add an empty pccbb_attach_hook.Mark Kettenis
2007-12-20add original copyrightOleg Safiullin
bad me
2007-12-20Stricter range checks in mmap function.Miod Vallat
2007-12-20return with ENOTTY instead of EINVAL for unknown ioctl requests.Brad Smith
ok claudio@ krw@ jason@ dlg@
2007-12-20regenBrad Smith
2007-12-20add the ATI Radeon Mobility X1400 PCI id.Brad Smith
From David Hill <dhill at mindcry dot org> ok dlg@
2007-12-20regenBrad Smith
2007-12-20add the MCP77 LAN PCI ids.Brad Smith
From Peer Chen @ NVIDIA via Linux ok dlg@
2007-12-20attach another variant of the MC8755, this one is found in x61s laptops from ↵Felix Kronlage
lenovo. tested by oga@
2007-12-20regenFelix Kronlage
2007-12-20add another variant of the Sierra Wireless MC8755 3G/UMTS/HSDPA modems found ↵Felix Kronlage
in x61 laptops from lenovo
2007-12-19Move watchdog timeout message from DPRINTF to printf.Marcus Glocker
2007-12-19Fix page fault trap in TX path. Though TX path is still not workingMarcus Glocker
sane, resulting in watchdog timeout.
2007-12-19Overhaul interrupt handling, in order to make it (arguably) simpler andMiod Vallat
more board design-independent. The main changes are: - define logical interrupt sources, which match the on-board devices as well as the seven VME interrupt sources. Use these whenever possible when registering interrupts in the drivers, so that the actual interrupt mask layouts are hidden. - make the on-board and VME interrupt handlers separate. On-board interrupt handlers are not really associated to an interrupt vector, only to a given interrupt source, and only one handler can be registered for a logical interrupt source. On the other hand, VME interrupts come with a vector number, and can be shared. This allows VME devices to really use the whole 256 vectors space, starting at vector zero. - update the real interrupt masks upon interrupt handler registration and removal, so that only interrupt sources for which a handler exists may be enabled. - update the VME interrupt allocation logic to allow exclusive vector allocation. - move the Z8536 clock routines to their own file, since they are not AV400-specific; while there, calibrate the delay constant upon startup for more accurate delay(). The vme driver is the only one left with AV400 tentacles left, to be fixed very soon.
2007-12-19Use the real physical memory size for physmem, rather than what's left afterMiod Vallat
the PROM has eaten part of it, so that the reported memory size in dmesg is a nice round number.
2007-12-19The serial console address apparently does not change accross 88100 designs,Miod Vallat
so stash it in a board-independent header.
2007-12-19Allocate memory for the onboard le interface using uvm functions, instead ofMiod Vallat
stealing pages in pmap_bootstrap. While there, use up to four times more memory for these buffers if the machine has enough physical memory.
2007-12-19If the CardBus bus number is left unconfigured, only attach pcmcia(4).Mark Kettenis
ok jsing@, fgsch@
2007-12-19Looks like K-class needs the same hack as C-class. Gives us some, but not allMark Kettenis
devices.
2007-12-19Fix the issue with some intel 965 host busses. Though the docs claim that theOwain Ainsworth
mmaddr BAR is alway 64-bit, they lie. one some bridges it's not. Fix this by checking which type of memory it is before trying to map. Advice and ok kettenis@, Tested by myself and Matthew L. Shobe
2007-12-18Remove bogus #ifdef __i386__, such that we properly initialize the bus numberMark Kettenis
for pci busses off secundary CPUs.
2007-12-18pass pci domain to the child too, ok kettenisTheo de Raadt
2007-12-18New it(4) driver.Oleg Safiullin
Supports ITE IT8705/8712/8716/8718/8726 and SiS SiS950 hardware monitors and ITE IT8712F/8716F/8718F/8726F watchdog timer.