summaryrefslogtreecommitdiff
path: root/sys
AgeCommit message (Collapse)Author
2004-07-21regenMichael Shalayeff
2004-07-21spacingTheo de Raadt
2004-07-21use cdce_ prefix on crc32 function and table name to avoid conflicts,Daniel Hartmeier
suggested by mickey
2004-07-21I was wrong. The assymetry created by the proc argument to rw_enter_writeArtur Grabowski
is horrible and doesn't add anything. Remove it. XXX - the fdplock macro will need a separate cleanup. niklas@ markus@ ok
2004-07-21update the netbsd license and tagsDavid Gwynne
ok krw@
2004-07-21add crc32(), ether_crc32_[b|l]e() doesn't work here. should make it workDaniel Hartmeier
with Zaurus.
2004-07-21from netbsd, umass.c 1.103David Gwynne
Mostly stylistic change, making comments and printf()s similar between BBB and CBI. ok krw@
2004-07-21from netbsd, umass.c 1.105David Gwynne
do less work if we hit an error ok krw@
2004-07-21from netbsd, umass.c 1.112David Gwynne
Fix a printf() error. ok krw@
2004-07-21from netbsd, umass.c 1.116David Gwynne
When starting a bulk-only transfer, punt early if the device is going away. ok krw@
2004-07-21from netbsd, umass.c 1.104David Gwynne
Do the quirk initialization earlier. ok krw@
2004-07-21from netbsd, umass.c 1.101David Gwynne
On a Bulk-In data stall, make sure we copy back the data received, per the spec. This is the real problem behind FORCE_SHORT_INQUIRY. ok krw@
2004-07-21from netbsd, umass.c 1.100 1.113 1.115, umass_scsipi.c 1.11, umassvar.h 1.21David Gwynne
log message for umass 1.98, umass_scsipi.c 1.11, umassvar.h 1.21: Fix several problems with CCI handling, and enable it: * We were never calling the callback function when we got a UFI CCI(!). * We were passing a bogus residual count on non-UFI CCIs. * After a REQUEST SENSE, the UFI CCI may include the ASC/ASCQ from the sense information -- don't consider this a failure. In addition, remove a horrible hack that was causing us to drop sense information on the floor and return empty INQUIRY responses, often in the case where there is a UNIT ATTENTION pending during the INQUIRY. (Some drives send the data and then fail, some don't.) log message for umass.c 1.113: Do not return STATUS_WIRE_FAILED in response to a CBI stall. This is perfectly normal, and is used to report errors. Instead, use STATUS_CMD_FAILED, which causes us to do a REQUEST SENSE. Should address PR 22960. log message for umass.c 1.115: Do not do a CBI reset before returning STATUS_CMD_FAILED. This causes any sense information to be thrown away, and is therefore nonsensical. ok krw@
2004-07-21calibrate after opening. helps if cpu speed is changing and microtime can'tTed Unangst
be trusted. ok deraadt, several testers. solves pr3814. while here, art says use microuptime.
2004-07-21Yet another victim of inline masturbation.Artur Grabowski
Remove inline from a few functions, shrink the kernel by a few kB and make things faster. A simple compilation on amd64 spends around 5% less time in kernel. Yes, it's faster without inlines, now go buy a book about modern cpu architectures and find a chapter about the new and revolutionary thing called "cache". deraadt@ ok
2004-07-21remove a few inlines from funcs that are used more than once and make code ↵Michael Shalayeff
bigger; asked by art@
2004-07-21from freebsd, ugen.c 1.68 usbdi_util.c 1.27 usbdi_util.h 1.15David Gwynne
log message: Implement outgoing interrupt pipes. It is part of the USB 1.1 spec. The Lego Infrared Tower use it. ok deraadt@
2004-07-20ifdef DDB a few functions only used (or usable) from DDB.Artur Grabowski
2004-07-20KASSERT instead of assert. Gives smaller RAMDISKS.Artur Grabowski
2004-07-20Forgot to put this chunk in.Miod Vallat
2004-07-20Properly initialize FPU state if it hasn't been used yet.Mark Kettenis
ok deraadt@
2004-07-20add cdceDaniel Hartmeier
2004-07-20Let the boot device detection code handle secondary SCSI buses.Miod Vallat
2004-07-20Work in progress to support daughterboards. The driver now will attach aMiod Vallat
second scsi bus if a SCSI daughterboard is present, and is supposed to know about this and send scsi commands to the appropriate bus. Unfortunately probing the second bus does not report any device at the moment (though you can boot off it), but I can't see the issue at the moment. Thanks to tdeval@ for lending a few boards equipped with daughterboards for testing.
2004-07-20Driver for USB CDC Ethernet devices (USB Host-to-Host), appearing asDaniel Hartmeier
network interfaces, transporting Ethernet, supporting Sharp Zaurus and Prolific PL-2501 (external cable). Written by Craig Boston based on code from Bill Paul. ok deraadt@
2004-07-20Use sc_print_addr for error messages.Miod Vallat
2004-07-20The timeout wheels are manipulated by hardclock that's not protected withArtur Grabowski
biglock. We need to protect them with a mutex.
2004-07-20protect printf with a mutex instead of SIMPLELOCK.Artur Grabowski
2004-07-20Use mutex instead of SIMPLELOCK for protecting ddb on mp systems.Artur Grabowski
2004-07-20Use mutex where we used to protect pmap internals with SIMPLELOCK.Artur Grabowski
2004-07-20MD mutex implementation on amd64.Artur Grabowski
2004-07-20MD mutex implementation for i386.Artur Grabowski
2004-07-20Introducing mutexes - cpu-owned spinning locks with spl semantics.Artur Grabowski
This is the MI (slightly inefficient and not MP safe) implementation. deraadt@ ok Tested by many. (this and following commits)
2004-07-20regenMichael Shalayeff
2004-07-20prolific pl2501; for dhartmei@Michael Shalayeff
2004-07-20#include "npx.h"Mark Kettenis
ok deraadt@
2004-07-20Allow a kernel to specify wd* as root or swap device;Miod Vallat
spotted by Waldemar Brodkorb.
2004-07-20no point in return from void functionPeter Valchev
2004-07-20Move tag word to the right location in `struct envxmm'.Mark Kettenis
ok deraadt@
2004-07-20syncDavid Krause
2004-07-20SD Controller found on a Toshiba laptop; ok deraadt@David Krause
2004-07-20typoTheo de Raadt
2004-07-20syncTheo de Raadt
2004-07-20another new device; shin@happynet.co.jpTheo de Raadt
2004-07-19Delete the AP scan timeout in atw_detach. Fixes a panic on detach if theTodd C. Miller
timeout is still active as seen by david@
2004-07-19Recognize the daughter board type, if any - but it is not supported yet.Miod Vallat
2004-07-19After a work queue has been aborted and the abort has been acknowledged,Miod Vallat
do not keep setting the A.A. bit in further queue control operations, as advised by the manual.
2004-07-19When we want to thaw all work queues we care about, do it correctly.Miod Vallat
2004-07-19Direct REQUEST_SENSE commands to the correct target, instead of alwaysMiod Vallat
target zero. This makes targets other than zero working now... Spotted by nick@
2004-07-19Implement __HAVE_PMAP_DIRECT on amd64 using large pages. At this momentArtur Grabowski
it's limited to 512GB (one L4 page table entry) physical memory. Only used carefully at this moment, but more improvements are in the pipeline. tested by many, deraadt@ ok.