Age | Commit message (Collapse) | Author | |
---|---|---|---|
2004-07-22 | SIMPLELOCK -> mutex for the lock around deadproc list. | Artur Grabowski | |
Also move the whole deadproc infrastructure to kern_exit, it's only used there. miod@ ok | |||
2004-07-22 | Spell reserved correctly; ok from copyright holders when in licence blocks. | Miod Vallat | |
2004-07-22 | Use mutex instead of SIMPLELOCK for locking the tlb shootdown queues | Artur Grabowski | |
and related structures. tedu@ ok | |||
2004-07-22 | mutex instead of SIMPLELOCK for mp ddb. | Artur Grabowski | |
"reads good" niklas@ "looks good" andreas@ "works" tedu@ | |||
2004-07-22 | fix cases when m_dup1() returned mbuf chain (instead of single mbuf). | Jun-ichiro itojun Hagino | |
yamt@netbsd | |||
2004-07-22 | remove p arg from fdplock | Ted Unangst | |
2004-07-22 | remove p arg from fdplock | Ted Unangst | |
2004-07-22 | remove an unused var | David Gwynne | |
ok krw@ | |||
2004-07-22 | Fix access to direct mapped memory through /dev/kmem. | Artur Grabowski | |
2004-07-21 | remove hppa workarounds; from jkunz@ pr3861 | Michael Shalayeff | |
2004-07-21 | swapped byte swapping in raw vs non-raw funcs and missed swapping in rw8; ↵ | Michael Shalayeff | |
from jkunz@ pr3861 | |||
2004-07-21 | Fix conversion of interrupt frame to trap frame. | Mark Kettenis | |
ok deraadt@, niklas@ | |||
2004-07-21 | kqueue support for NFS, adapted from netbsd. | marius eriksen | |
ok art@ pedro@, "get it in" deraadt@ | |||
2004-07-21 | In pipe_read, when the pipelock fails (most likely because we catch a | Artur Grabowski | |
signal), don't jump to unlocked_error: and do things that we don't need to do (including messing up the internal state of the pipe). Just return. ok niklas@ miod@ | |||
2004-07-21 | regen | Michael Shalayeff | |
2004-07-21 | spacing | Theo de Raadt | |
2004-07-21 | use cdce_ prefix on crc32 function and table name to avoid conflicts, | Daniel Hartmeier | |
suggested by mickey | |||
2004-07-21 | I was wrong. The assymetry created by the proc argument to rw_enter_write | Artur Grabowski | |
is horrible and doesn't add anything. Remove it. XXX - the fdplock macro will need a separate cleanup. niklas@ markus@ ok | |||
2004-07-21 | update the netbsd license and tags | David Gwynne | |
ok krw@ | |||
2004-07-21 | add crc32(), ether_crc32_[b|l]e() doesn't work here. should make it work | Daniel Hartmeier | |
with Zaurus. | |||
2004-07-21 | from netbsd, umass.c 1.103 | David Gwynne | |
Mostly stylistic change, making comments and printf()s similar between BBB and CBI. ok krw@ | |||
2004-07-21 | from netbsd, umass.c 1.105 | David Gwynne | |
do less work if we hit an error ok krw@ | |||
2004-07-21 | from netbsd, umass.c 1.112 | David Gwynne | |
Fix a printf() error. ok krw@ | |||
2004-07-21 | from netbsd, umass.c 1.116 | David Gwynne | |
When starting a bulk-only transfer, punt early if the device is going away. ok krw@ | |||
2004-07-21 | from netbsd, umass.c 1.104 | David Gwynne | |
Do the quirk initialization earlier. ok krw@ | |||
2004-07-21 | from netbsd, umass.c 1.101 | David 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-21 | from netbsd, umass.c 1.100 1.113 1.115, umass_scsipi.c 1.11, umassvar.h 1.21 | David 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-21 | calibrate after opening. helps if cpu speed is changing and microtime can't | Ted Unangst | |
be trusted. ok deraadt, several testers. solves pr3814. while here, art says use microuptime. | |||
2004-07-21 | Yet 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-21 | remove a few inlines from funcs that are used more than once and make code ↵ | Michael Shalayeff | |
bigger; asked by art@ | |||
2004-07-21 | from freebsd, ugen.c 1.68 usbdi_util.c 1.27 usbdi_util.h 1.15 | David 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-20 | ifdef DDB a few functions only used (or usable) from DDB. | Artur Grabowski | |
2004-07-20 | KASSERT instead of assert. Gives smaller RAMDISKS. | Artur Grabowski | |
2004-07-20 | Forgot to put this chunk in. | Miod Vallat | |
2004-07-20 | Properly initialize FPU state if it hasn't been used yet. | Mark Kettenis | |
ok deraadt@ | |||
2004-07-20 | add cdce | Daniel Hartmeier | |
2004-07-20 | Let the boot device detection code handle secondary SCSI buses. | Miod Vallat | |
2004-07-20 | Work in progress to support daughterboards. The driver now will attach a | Miod 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-20 | Driver for USB CDC Ethernet devices (USB Host-to-Host), appearing as | Daniel 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-20 | Use sc_print_addr for error messages. | Miod Vallat | |
2004-07-20 | The timeout wheels are manipulated by hardclock that's not protected with | Artur Grabowski | |
biglock. We need to protect them with a mutex. | |||
2004-07-20 | protect printf with a mutex instead of SIMPLELOCK. | Artur Grabowski | |
2004-07-20 | Use mutex instead of SIMPLELOCK for protecting ddb on mp systems. | Artur Grabowski | |
2004-07-20 | Use mutex where we used to protect pmap internals with SIMPLELOCK. | Artur Grabowski | |
2004-07-20 | MD mutex implementation on amd64. | Artur Grabowski | |
2004-07-20 | MD mutex implementation for i386. | Artur Grabowski | |
2004-07-20 | Introducing 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-20 | regen | Michael Shalayeff | |
2004-07-20 | prolific pl2501; for dhartmei@ | Michael Shalayeff | |
2004-07-20 | #include "npx.h" | Mark Kettenis | |
ok deraadt@ |