summaryrefslogtreecommitdiff
path: root/sys
AgeCommit message (Collapse)Author
2007-03-05If tty-timestamping is requested, but no PPS signal is present, output aMarc Balmer
warning message and unconditionally set the sensor state to WARNING. discussed with otto, ckuethe; ok otto, "i like it" ckuethe
2007-03-05add a reminder about the extra attach functionDavid Gwynne
2007-03-05add space for a match and attach routine to the device list, so particularDavid Gwynne
controllers can specify extra code to run at match or attach time. use this on jmicron controllers to restrict attaching to ahci on pci function 0 (high functions are normal pciide style controllers), and to do the CCR tweaking to enable ahci.
2007-03-05Recognise ATAPI device signatures.Christopher Pascoe
2007-03-04Make sure a bpf device can only be opened once.Can Erkin Acar
Previously the descriptor was locked only after an interface is set, leading to a race condition. Reported by Jon Steel < jon.steel at esentire com > tested by otto@, looks correct deraadt@
2007-03-04Fix another panic in bcw_phy_init() for sparc64. Now firmware loadsMarcus Glocker
and radio initializes on sparc64, too.
2007-03-04Oops, bring back pmap_collect1() and the check for pmap_kernel() inMiod Vallat
pmap_collect() as we do an explicit pmap_collect(pmap_kernel()) in dire memory situations.
2007-03-04Fix bcw_gpio_init(); Before we can write to the GPIO control register,Marcus Glocker
we must switch back to the common core. Found because sparc64 panics on this (I start to like sparc64 :).
2007-03-04Make bcw_change_core() conform to other functions.Marcus Glocker
2007-03-04Limit knowledge of splfoo() return values, and use mac68k_machine.via1_iplMiod Vallat
instead of hardcoded 1; this gets us rid of unnecessary polls on machines running with A/UX interrupts.
2007-03-04Invoke adb_cuda_autopoll() and leave polling mode after all initializationMiod Vallat
commands are set; also add a delay between adb_intr_cuda() and adb_soft_intr() while polling, as this seems to be necessary on some models; ok gwk@ drahn@
2007-03-04Fix non AHCI_DEBUG build.Christopher Pascoe
2007-03-04Replace empty ahci_ata_{probe,cmd} stubs with ones that do something.Christopher Pascoe
Mostly from dlg@
2007-03-04Include port number in debug messages, where appropriate.Christopher Pascoe
Clean up some whitespace problems.
2007-03-04Fix panic caused by bcw_leds_switch_all() because reading from wrongMarcus Glocker
register. Noted while testing on sparc64.
2007-03-04Now actually activate ports and try to detect devices.Christopher Pascoe
2007-03-04Save BIOS configured parameters over reset. Always enable staggered spin-up.Christopher Pascoe
Don't clean interrupt status now - have to flush individual ports' status first.
2007-03-04Add support for enabling/disabling port activity, and soft/port resets.Christopher Pascoe
2007-03-04Add support for issuing a (polled) command.Christopher Pascoe
2007-03-04Add function to set up Physical Region Descriptor Tables, mostly from dlg@Christopher Pascoe
2007-03-04Oops, remove duplicate prototypes that I mismerged.Christopher Pascoe
2007-03-04Third argument to pci_mapreg_map is the "map type", not "memory type".Christopher Pascoe
2007-03-04Perform separate memory allocations for the RFIS, command list and commandChristopher Pascoe
tables. Avoids alignment issues and simplifies the calculation of the ranges to sync before DMA.
2007-03-04When freeing port memory, use actual pointer to port rather than random memory.Christopher Pascoe
2007-03-04Add functions to wait for bit changes in port registers.Christopher Pascoe
2007-03-04HBAs by JMICRON have an additional "Controller Control Register" thatChristopher Pascoe
must be programmed to switch the ports into AHCI mode. Do so.
2007-03-04Use CARDBUS_PRODUCT macro to read product id.Marcus Glocker
2007-03-04Fix strict alignment panic. Makes my BCM4306 attach on sparc64.Marcus Glocker
2007-03-04comment members of ahci_cmd_tableDavid Gwynne
2007-03-04pull the prdt into the ahci_cmd_table struct, which gets rid of ahci_cmd.David Gwynne
from pascoe@
2007-03-04rename struct ahci_cmd_list to ahci_cmd_hdr to better match the spec andDavid Gwynne
make it easier to read the code. fix the ordering of the flags and prdtl fields. from pascoe@
2007-03-04reverse the order of the fields in the %b fmt strings so that they readDavid Gwynne
the bitfield from left to right like us humans do. from pascoe@
2007-03-04Kill a cardbus dependency which breaked kernel compilation e.g. forMarcus Glocker
sparc*. OK deraadt
2007-03-03Kernel crash dumps and associated libkvm bits for landisk.Miod Vallat
2007-03-03Fix a logic error in dumpconf()Miod Vallat
2007-03-03Stop looking for acpidock until we fix that stuff that breaks all pre-60Michael Knudsen
series ThinkPads with acpidock(4) enabled.
2007-03-03syncTheo de Raadt
2007-03-03Sirius To PC Interface is a uftdi; marco@azbsd.orgTheo de Raadt
2007-03-03instead of establishing the interrupt in the mounthook, move it backReyk Floeter
to the attach function and set a flag in the mounthook to start accepting interrupts (there are possible problems with establishing interrupts after the ioapics are enabled in i386 GENERIC.MP). also suggested by kettenis tested by mcbride, me, and some others ok dlg@
2007-03-03Replacing some spaces with tabs and some typo fixesTodd T. Fries
from brad@
2007-03-02Fix and enable HW VLAN tagging.Kenneth R Westerback
From brad@, tested by brad on i386/amd64/sparc64 and by maja@ and ian@ on i386.
2007-03-02oops, this is $OpenBSD$Reyk Floeter
2007-03-02- remove the code to bring down the PHY in bnx_stop(), it's wrongReyk Floeter
(ifm_data isn't updated) and lead to a panic in mii_phy_setmedia(), or reading past the end mii_media_table[]. - make sure the dma_map matches the mbuf in the rx structures. We would sync/unload the wrong map, leading to a DIAGNOSTIC panic, or eventually leaking memory when bounce buffers are needed. From NetBSD ok marco@, brad@
2007-03-02Move landisk to hardware floating point. At the moment the FPU context isMiod Vallat
always saved upon context switches, as FPU registers are heavily used for long long computations (don't ask). Gcc default to -m4. Credits to drahn@ otto@ and deraadt@ for feedback and help testing. Upgrade procedure if you don't want to use the damn snapshots: - build and install new kernel, reboot off it - build new gcc, do not install it yet - make includes - install new gcc - build and install lib/csu and lib/libc - make build
2007-03-02MCP65 has no hardware checksum support.Jonathan Gray
Diff from brad after he noticed recent changes in the Linux driver by an NVIDIA employee.
2007-03-01typoMiod Vallat
2007-03-01On the first generation iMac G5 (PowerMac8,1) the fans node is calledMark Kettenis
rpm-fans.
2007-03-01If the kauai is not found in openfirmware, abort the config. ok deraadtDale Rahn
2007-03-01Don't attach sensors and iic(4) if we didn't find any fans.Mark Kettenis
Tickling the SMU when we don't set the fans running is bad since this prevents the fans to spin up automatically causing the machine to overheat.
2007-03-01Set phy / radio softc vars to initial default values.Marcus Glocker