| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
| |
the sectors fit (at least, don't fake them up any more then they are
already faked up).
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
not < the size of the device. This avoids geom complaints.
Fix a serious bug in the handling of the RS_NO_CLEAR_UA quirk. When we
go and insert the test-unit-ready command the umass_cam_quirk_cb() function
sets the status as if the READ_CAPACITY command suceeded when, in fact, it
did not. This leads to the CAM layer trying to use garbage in the return
buffer and panicing the system (or doing other bad things).
Add a quirk entry for MSYSTEMS DISK-ON-KEY, which is sold under the Sony
brand as a solid state disk-on-key usb device. This device requires
several quirks to work properly.
Note that the disk-on-key device will not work properly until CAM also
gets a quirk entry for it, which has been submitted to the CAM maintainer,
and you may have to temporarily uncomment the DELAY() as well. -current
does not properly wait for devices to power up so you may also have
to temporarily uncomment the DELAY(300000) to make your device work.
A solution must be found to that issue.
MFC after: 3 days
X-MFC note: the quirk support must MFCd before this patch can be
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
the dataphysend calculation could only possibly work if the virtual buffer
is also physically contiguous. Calculate dataphysend by calculating the
ending virtual address first, then converting to a physical address.
The second bug applies only to NetBSD and OpenBSD and involves the curlen
calculation in the two-contiguous-physical-pages case (which we don't support).
Also cleanup the use of the OHIC_PAGE() macro on dataphysend and add a panic
if len goes negative (meaning we lost the physical page translation
representing the end of the buffer).
IMHO the dataphysend is still bokered since it might be misrepresented
by shared userland page mappings. The whole section needs to be rewritten
to use the virtual address range.
MFC after: 3 days
|
|
|
|
|
|
|
| |
really know how to talk IEEE1284, so attaching to that interface makes the
printer unusable.
Approved by: joe
|
|
|
|
|
| |
Mostly OpenBSD-related changes. Remove newline from panic string. Remove
an unreachable break statement.
|
|
|
|
|
|
|
|
| |
Remove a comment claiming the opposite.
Approved by: re (rwatson)
gallatin (Mentor)
MFC after: 1 week
|
|
|
|
|
|
|
| |
- In ohci_close_pipe, wait 1ms after removing an ED to avoid possible race
condition.
Approved by: re (rwatson)
|
|
|
|
|
|
|
| |
date: 2002/09/29 20:59:30; author: augustss; state: Exp; lines: +2 -7
Remove extra call to ohci_rem_ed(). From kern/18448, Takeshi Nakayama.
Approved by: re (rwatson)
|
|
|
|
|
| |
Submitted by: Bernd Walter <ticso@cicely8.cicely.de>
Approved by: re (rwatson)
|
|
|
|
|
| |
Submitted by: akiyama
MFC after: 3 days
|
|
|
|
| |
Submitted by: akiyama
|
|
|
|
|
| |
Submitted by: akiyama
MFC after: 3 days
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
o don't strip the Ethernet header from inbound packets; pass packets
up the stack intact (required significant changes to some drivers)
o reference common definitions in net/ethernet.h (e.g. ETHER_ALIGN)
o track ether_ifattach/ether_ifdetach API changes
o track bpf changes (use BPF_TAP and BPF_MTAP)
o track vlan changes (ifnet capabilities, revised processing scheme, etc.)
o use if_input to pass packets "up"
o call ether_ioctl for default handling of ioctls
Reviewed by: many
Approved by: re
|
|
|
|
|
|
| |
MFC after: 2 weeks
fix XPT_CALC_GEOMETRY to fill in some reasonable values.
Inspired by aic/sbp.
|
|
|
|
| |
%t in the kernel printf yet.
|
|
|
|
|
| |
currently in -stable. Put the exception into usb.h instead of having it
hard coded in the sound code.
|
|
|
|
| |
usb_proc_ptr that does the same thing.
|
|
|
|
|
|
|
|
| |
that this entry was accidentally given the wrong protocol in revision
1.61.
PR: kern/42417
Submitted by: "Moriki, Toshiomi" <toshiomi@whi.m-net.ne.jp>
|
|
|
|
|
|
|
| |
pipe callback function, and just return if these cases are detected.
Without these checks, the ulpt driver may cause an infinite loop
of failing USB transfers that can hang the whole machine. This makes
printing work for me on a HP DJ950C printer.
|
|
|
|
| |
Approved by: obrien
|
|
|
|
|
| |
Reviewed by: n_hibma
Approved by: obrien
|
|
|
|
|
| |
Reviewed by: n_hibma
Approved by: obrien
|
|
|
|
|
|
|
|
|
|
|
| |
Belkin F5U103
Belkin F5U120-PC Hub
GoHubs GoCOM232
Peracom single port
USB-to-serial adapters.
Reviewed by: n_hibma
Approved by: obrien
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
doesn't give them enough stack to do much before blowing away the pcb.
This adds MI and MD code to allow the allocation of an alternate kstack
who's size can be speficied when calling kthread_create. Passing the
value 0 prevents the alternate kstack from being created. Note that the
ia64 MD code is missing for now, and PowerPC was only partially written
due to the pmap.c being incomplete there.
Though this patch does not modify anything to make use of the alternate
kstack, acpi and usb are good candidates.
Reviewed by: jake, peter, jhb
|
|
|
|
| |
Submitted by: Clive Lin <clive@tongi.org>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
code path to fix a bug in the non USB_USE_SOFTINTR path that caused
the usb bus to hang and generally misbehave when devices were unplugged.
In the process though it also reduced the throughput of usb devices because
of a less than optimal implementation under FreeBSD.
This commit fixes the non USB_USE_SOFTINTR code in uhci and ohci
so that it works again, and switches back to using this code path.
The uhci code has been tested, but the ohci code hasn't. It's
essentially the same anyway and so I don't envisage any difficulties.
Code for uhci submitted by: Maksim Yevmenkin <myevmenk@exodus.net>
|
| |
|
| |
|
| |
|
|
|
|
| |
Get rid of trailing white space.
|
| |
|
|
|
|
| |
using sysctl.
|
|
|
|
|
|
| |
USB-C.
PR: kern/41963
|
| |
|
| |
|
|
|
|
| |
vendor description code.
|
|
|
|
|
| |
Don't display the "New UHCI DeviceId" message unless booting verbosely.
Use a switch statement for the vendor match code.
|
| |
|
|
|
|
|
| |
Move a quirk tests so the message printed about directionality is
right.
|
| |
|
|
|
|
|
|
|
| |
revision 1.127
date: 2002/08/07 20:03:19; author: augustss; lines: +4 -8
Fix some braindead calls to free memory (only encountered
under low memory conditions). From OpenBSD.
|
| |
|
|
|
|
|
|
|
|
|
| |
Inland UAS111
QVS USC-1000
HP USB-Serial adapter shipped with some HP laptops
Submitted by: takawata
MFC After: 7 days
|
| |
|
|
|
|
| |
Submitted by: Luiz Eduardo Roncato Cordeiro <cordeiro@nic.br>
|
|
|
|
| |
Requested by: imp
|
|
|
|
|
|
| |
debugging levels to off by default. Now that debug levels can be
tweaked by sysctl we don't need to go through hoops to get the
different usb parts to produce debug data.
|
| |
|
| |
|
|
|
|
|
|
| |
sysctl tree for tweaking them real-time.
Reviewed by: iedowse
|