| Commit message (Collapse) | Author | Age | Files | Lines |
| |
|
|
|
|
|
| |
Submitted by: Michael Lestinsky <michael@lestinsky.de>
MFC After: 3 days
|
|
|
|
|
|
|
|
|
|
|
| |
descriptor request, which usbd_get_string_desc() uses to get the
length of a descriptor. One device for instance returns a full 8
byte long packet instead which confuses the rest of the stack and
leads to the USB port being reset. The fix is to instead request
two bytes, but not to complain if we only get one.
Submitted by: kan
MFC after: 3 days
|
| |
|
|
|
|
|
|
|
|
| |
ucom.
This gets my Sanyo SCP-4900 working.
Approved by: joe
|
| |
|
| |
|
| |
|
| |
|
|
|
|
|
| |
o Whitespace nits
o NEODIO added
|
| |
|
|
|
|
| |
UBSA_DEBUG is inconsistent with other drivers.
|
|
|
|
|
|
|
| |
Metricom Ricochet GS modem. Add them here.
# A new umodem appears to be needed to make the sanyo phone work, but that's
# more extensive and will come after coordination.
|
| |
|
| |
|
|
|
|
| |
appears that NetBSD has already done this in their tree.
|
|
|
|
| |
especially in troff files.
|
|
|
|
|
|
|
|
|
|
| |
command in case this setting was not saved. Since bandwidth reclamation
(-current only) often results in bus activity continuing to the end
of every frame, most transfers would fail with IOERROR if this
setting is missed.
Reviewed by: n_hibma
MFC after: 1 week
|
|
|
|
|
| |
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.
|