Age | Commit message (Collapse) | Author |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
from S@mSmith.net
|
|
Do not send characters directly from usb interrupt handler for
console keyboard. entering ddb from within the usb interrupt handler
is _bad_. Instead delay until next timeout check and deliver characters
then. Tested on mappc.
From NetBSD.
|
|
Console keyboard will still be active and must be shut down for successful
detach. This change and previous change to wskbd.c both from NetBSD.
Tested by miod@ and myself.
Hot plug/unplug on USB console keyboard now works on macppc.
(this and wskbd.c may be errata candidates).
|
|
but USB_ATTACH will switch printer to bidirectional protocol.
Read status from printer. From NetBSD.
This forces newest usb printers works.
Tested by drahn@ (Epson 740) and me (HP LaserJet 2200).
Ok aaron@
|
|
|
|
|
|
|
|
Accessing the device via polling would cause a crash in the usb subsystem.
this change delays the media configuration using startuphooks, when
the system is fully up and running. This allows it to configure properly
and on macppc it is possible to use a umass device as root device.
Has little effect on other system, because they do not force USB configuration
during 'cold'. Tested by myself and brad@.
|
|
idea from deraadt@ via NetBSD
millert@ ok
|
|
can be unconfigured. Allows uaudio to be unplugged.
Tested by lebel, aaron did not understand why the code was that way.
|
|
interrupt after one second. Originally the interrupt was disabled
permanently after it fired once. This causes futher hot plug/removals
to stop working. However the interrupt will fire several times in succession
as a device is inserted/removed. This effectively debounces the interrupt.
Apparently only some systems actually plug directly into the root hub:
Most PCI cards do not, however newer apple motherboards all do.
This was sent around for review some time back and again recently, this
time with no feedback.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
(or ifqmaxlen); it's done in if_attach() now.
No future drivers needs to set up this anymore unless they want to
use something else.
|
|
- use the new queue macros.
- use IFQ_POLL() to peek at the next packet.
- use IFQ_IS_EMPTY() for empty check.
- drivers should always check if (m == NULL) after IFQ_DEQUEUE(),
since it could return NULL even when IFQ_IS_EMPTY() is FALSE
under rate-limiting.
- drivers are supposed to call if_start from tx complete interrupts
(in order to trigger the next dequeue under rate-limiting).
|
|
|
|
|
|
follows BSD/OS practice and ucd-snmp code (FreeBSD does it for specific
interfaces only).
was: if_lastchange get updated on every packet transmission/receipt.
now: if_lastchange get updated when IFF_UP is changed.
|
|
|
|
*hci cannot receive interrupts before it has been initialized.
this was changed to accomodate the pcibios strategy change back
in pre-2.9 times since *hci_init enables interrupts at it's end
and thus unmapped pci interrupt hangs the machine in the
endless loop trying to deliver it (and no hci handler to ack it).
this new way we disable interrupts by hands before we map 'em
on pci and thus ensure that they will not crash an uninitialized
*hci which, in turn, will run right after the interrupt map/establish
and by the time it enables *hci interrupts all gonna be just fine.
please allow us to end this stretched remark for cvs
is getting a power outage in less than 20 minutes.
|
|
I'm going to guess that ATAPI and QIC157 devices also want 12-byte CDBs.
So, pad CDBs to be 12 bytes for ATAPI, QIC157, 8070i (as well as UFI devices)
Also, remove an overly paranoid check in BBB state machine which
actually violates the spec. This is half of getting Angelos' Olympus
camera to work. The other half involves a semi-violent rewrite of the
sd scsi driver to make it more tolerant.
|
|
kue(4) Ethernet devices.
|
|
|
|
|
|
|
|
|
|
|
|
machdep.kbdreset sysctl as configured in /etc/sysctl.conf.
|
|
|
|
|
|
|
|
|
|
Driver from NetBSD. ok aaron@
|
|
6 are enabled by default. After these changes, to enable more you must
change the "option WSDISPLAY_DEFAULTSCREENS" in the kernel config file and
edit /etc/ttys to switch the new ones from 'off' to 'on'.
|
|
|
|
|