Age | Commit message (Collapse) | Author | |
---|---|---|---|
2009-12-04 | ansify. | Jasper Lievisse Adriaanse | |
ok md5@ | |||
2009-11-22 | Bring last drivers fully into the NO_CCB world by replacing | Kenneth R Westerback | |
TRY_AGAIN_LATER uses with equivalent NO_CCB. Eliminates confusion between the two as was always intended. buf I/O's that can't be started get pushed back onto the front of the queue and retried. Others get sent back to originator as failures. No more epi-cycle looping inside the SCSI midlayer hoping the problem goes away. Various testers, no objection from miod@ as vs(4) was tested by nick@. | |||
2009-10-31 | Make sure the descriptor is writable for some operations. | Federico G. Schwindt | |
Pointed out and ok by miod@. | |||
2009-10-13 | Connect pcppi bell to ukbd, so that x86 systems with usb console keyboard | Miod Vallat | |
can cause beeps on console. Reported by Greg Jones on misc@ | |||
2009-09-24 | Make sure the scsi_xfer timeout always get initialized with timeout_set(), | Miod Vallat | |
since the scsi_done() wrapper will timeout_del() unconditionnaly and the scsi midlayer no longer provides scsi_xfer with zeroed struct timeout. ok dlg@ | |||
2009-09-12 | Add DIOCSDINFO support to the three fd drivers. No change to existing | Kenneth R Westerback | |
behaviour. | |||
2009-09-06 | Don't pass uninitialized stack memory to setdisklabel() as the 'old' | Kenneth R Westerback | |
label. Use the existing label, since we now check and reuse some values in it. And that's what all other drivers do. Bonus: we don't need that label on the stack anymore. ok deraadt@ | |||
2009-09-05 | Change the wsdisplay_emulops return types from void to int; emulops will now | Miod Vallat | |
return zero on success and nonzero on failure. This commit only performs mechanical changes for the existing emulops to always return zero. | |||
2009-09-05 | scsi_done before COMPLETE. | David Gwynne | |
2009-08-26 | directly calling Debugger() is bad. turn these printf();Debugger(); series | Jasper Lievisse Adriaanse | |
into panic()'s. ok deraadt@ jsing@ | |||
2009-08-24 | - fix format strings for values that are daddr64_t | Jasper Lievisse Adriaanse | |
ok otto@, agreed by deraadt@ | |||
2009-08-24 | - remove double \n in panic string | Jasper Lievisse Adriaanse | |
2009-08-23 | - turn a printf(), which predated a panic()-function that could take ↵ | Jasper Lievisse Adriaanse | |
printf-like arguments, into panic() and remove call to Debugger() hint and ok deraadt@ | |||
2009-08-22 | There is no schsio_print() so get rid of the prototype. | Michael Knudsen | |
2009-08-13 | Replace the error strings that were being passed around with much simpler | Theo 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-12 | Backing store for ega and vga virtual console is not allocated until the | Miod Vallat | |
second vc is created. However, it was allocated using the geometry of the second vc to allocate backing store for the first. Be sure to use the proper values in case geometries differ. | |||
2009-08-10 | This does not need a shutdown function either (though the equilevant | Theo de Raadt | |
to stop is not called because the ioctl function is a masterpiece) | |||
2009-08-09 | Make this compile when SEA_ASSEMBLER is not defined. | Jonathan Gray | |
2009-08-05 | timeout_add -> timeout_add_msec | Bret Lambert | |
ok krw@ | |||
2009-07-31 | remove unused variable definition; unbreaks kernel build. | Stuart Henderson | |
"do it" marco@ | |||
2009-07-31 | timeout_add -> timeout_add_msec | Bret Lambert | |
ok jakemsr@ | |||
2009-07-23 | What gets allocated with bus_space_map() needs to be released with | Miod Vallat | |
bus_space_unmap(), not bus_space_free(). Fortunately this file is only used on i386 where bus_space_free() simply invokes bus_space_unmap(). | |||
2009-06-21 | fix rcs ids. ok sthen@ | Martynas Venckus | |
2009-06-02 | Fix some minor format string problems found in a maze of false positives | Theo de Raadt | |
provided by Parfait ok oga | |||
2009-06-02 | Cope with logical device numbers gaps, this fixes out-of-bounds access | Alexander Yurchenko | |
in an array. Problem found and ok deraadt@. | |||
2009-05-24 | make sure the array of chars we pass aps_do_io() in aps_match() is | Jonathan Gray | |
unsigned, like all the other callers of aps_do_io in aps do. | |||
2009-05-23 | Remove redefinition of ETHER_ADDR_LEN. | Jonathan Gray | |
2009-05-07 | KNF | Michael Knudsen | |
2009-04-27 | Whitespace KNF. | Michael Knudsen | |
2009-04-21 | Switch aps(4) to use timeout_add_msec() instead of timeout_add() with a | Michael Knudsen | |
calculation of ticks. Saves 26 bytes. ok oga `fine' deraadt | |||
2009-04-17 | schsio_probe() reads the chip id to find out if we should attach or not. | Michael Knudsen | |
schsio_attach() then later reads the chip id to print which device we found. I noticed that isa_attach_args has a field called ia_aux which can be used for driver specific stuff, so stuff the device id in there so we don't need to get the value from the chip again during attach. | |||
2009-04-16 | Change some parameter types from int to u_int8_t since the | Michael Knudsen | |
bus_space_.. API uses that. | |||
2009-04-15 | Remove some unused symbolic constants. | Michael Knudsen | |
2009-04-14 | Convert 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-30 | Support for more chipset versions, written by Ian Lindsay | Theo de Raadt | |
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-25 | Add support for the watchdog timer. | Michael Knudsen | |
``just have the balls and commit it'' deraadt | |||
2009-02-16 | Extend the scsi_adapter minphys() callback to take a struct scsi_link * | Miod Vallat | |
as additional argument. This will allow intermediate layers between scsi devices such as sd and scsi host adapters to take appropriate action if necessary. | |||
2009-01-26 | Unify error message. | Mark Kettenis | |
ok grange@, oga@, todd@ | |||
2009-01-24 | use more appropriate sensor_task_register(9) paradigm; ok mk | Constantine A. Murenin | |
2009-01-24 | * eliminate redundant initialisations of .desc and .value | Constantine A. Murenin | |
* .status should never stay at OK permanently * use .flags more sparingly ok mk | |||
2009-01-23 | Add schsio(4), a driver for SMSC SCH311x LPC Super I/O ICs providing | Michael Knudsen | |
environment sensors. These are found at least on VIA Epia SN18000G boards. Not enabled at 0x162e and 0x164e because probing these may not be safe according to kettenis (guess where my schsio is). Much help from kettenis. Input from const and fgs. ok kettenis | |||
2009-01-21 | Replace timeout_add(msecs * hz / 1000) with timeout_add_msec(msecs). | Alexander Yurchenko | |
No functional changes. ok krw@ miod@ | |||
2009-01-16 | add IT8720F support | Oleg Safiullin | |
thanks to Vit Skibinskiy <bucker(ik)skibinski.pp.ru> | |||
2009-01-11 | Actual final round of timeout_add(to, n * hz) -> timeout_add_sec(to, n) | Bret Lambert | |
conversions. ok kettenis@ ok krw@ (possibly for the second time :) | |||
2008-11-28 | Eliminate the redundant bits of code for MTU and multicast handling | Brad Smith | |
from the individual drivers now that ether_ioctl() handles this. Shrinks the i386 kernels by.. RAMDISK - 2176 bytes RAMDISKB - 1504 bytes RAMDISKC - 736 bytes Tested by naddy@/okan@/sthen@/brad@/todd@/jmc@ and lots of users. Build tested on almost all archs by todd@/brad@ ok naddy@ | |||
2008-11-27 | Needs explicit <sys/malloc.h> include; Georg Schwarz | Miod Vallat | |
2008-11-25 | Another bunch of TRY_AGAIN_LATER -> NO_CCB when no I/O could be started. | Kenneth R Westerback | |
"looks sane to me" marco@ | |||
2008-11-22 | cast pointer to correct type before passing it to bus space. Noticed while | Owain Ainsworth | |
de-inlining i386 bus_space. ok weingart@ | |||
2008-11-22 | com, not pccom | Theo de Raadt | |