Hans Petter Selasky
88e27ba861
- Ensure code which only applies to the control endpoint is not run
...
for other endpoints in the data transfer path.
- Ensure all bits of the "EPCON" register is written during
initialisation.
MFC after: 3 days
2014-08-05 13:36:26 +00:00
Nick Hibma
c376f4397d
Add support for Huawei E3272 modems which are supported by the CDC
...
ethernet class.
Note: This is untested as I do not have a device like this. That is
reflected in the MFC timeout.
PR: 192345
Submitted by: rozhuk.im gmail.com
MFC after: 4 weeks
2014-08-05 12:08:50 +00:00
Nick Hibma
273e613024
don't OR integer error values together as this does not make sense.
...
Instead bail on the first failed command.
2014-08-05 11:50:16 +00:00
Nick Hibma
dc26b3369f
Return USB_ERR_INVAL if the eject method is not known.
...
PR: 145319
Submitted by: rozhuk.im gmail.com
2014-08-05 09:59:16 +00:00
Nick Hibma
c5377460ea
Add a second Huawei SCSI eject command as USB mode switch config files
...
sometimes use one or the other. Maybe newer Huawei modems switched.
Add a quirk for it as well.
PR: 145319
Submitted by: rozhuk.im gmail.com
2014-08-05 09:35:25 +00:00
Nick Hibma
e28d2b2275
Reset the error value in the softc before starting a BBB transfer.
...
PR: 145319
Submitted by: rozhuk.im gmail.com
MFC after: 3 days
2014-08-05 08:48:24 +00:00
Nick Hibma
89fc30aaa5
Add ID for Novatel MC990D to u3g.
...
PR: 145319
Submitted by: rozhuk.im gmail.com
MFC after: 3 days
2014-08-05 08:29:16 +00:00
Nick Hibma
7ae432c00d
Remove unused defines.
...
Fix some device_printf's that were missing '\n' at the end or had
speling errors.
PR: 145319
Submitted by: rozhuk.im gmail.com
2014-08-05 08:24:41 +00:00
Hans Petter Selasky
f9478f91fb
Add new USB phone descriptor template for USB device side mode.
...
MFC after: 3 days
2014-08-05 07:03:16 +00:00
Hans Petter Selasky
c3ccd2bf8c
Fix for deadlock in USB device side mode.
...
MFC after: 3 days
2014-08-05 06:38:21 +00:00
Hans Petter Selasky
c65494287f
Rename driver name a bit to avoid unit number confusion in dmesg.
...
MFC after: 3 days
2014-08-05 06:37:07 +00:00
Hans Petter Selasky
6d3fae9533
- Implement fast interrupt handler to save CPU usage.
...
- Add support for striding register offsets.
- Cleanup some register reads and writes to use existing register
access macros.
2014-08-05 06:33:59 +00:00
Hans Petter Selasky
08b3b75235
Ensure we catch USB transfers which complete right away.
2014-08-05 06:31:09 +00:00
Navdeep Parhar
46a646940f
cxgbe(4): Do not run any sleepable code in the SIOCSIFFLAGS handler when
...
IFF_PROMISC or IFF_ALLMULTI is being flipped. bpf(4) holds its global
mutex around ifpromisc in at least the bpf_dtor path.
MFC after: 3 days
2014-08-04 22:32:16 +00:00
Roger Pau Monné
c2641d23e1
xen: add ACPI bus to xen_nexus when running as Dom0
...
Also disable a couple of ACPI devices that are not usable under Dom0.
To this end a couple of booleans are added that allow disabling ACPI
specific devices.
Sponsored by: Citrix Systems R&D
Reviewed by: jhb
x86/xen/xen_nexus.c:
- Return BUS_PROBE_SPECIFIC in the Xen Nexus attachement routine to
force the usage of the Xen Nexus.
- Attach the ACPI bus when running as Dom0.
dev/acpica/acpi_cpu.c:
dev/acpica/acpi_hpet.c:
dev/acpica/acpi_timer.c
- Add a variable that gates the addition of the devices.
x86/include/init.h:
- Declare variables that control the attachment of ACPI cpu, hpet and
timer devices.
2014-08-04 09:05:28 +00:00
Roger Pau Monné
2382778f40
xen: Dom0 console fixes
...
Minor fixes to make the Xen Dom0 console work. This includes always
returning there's pending input in xencons_has_input, because on Dom0
there's no shared ring and we cannot test the indexes. The second
fix is to use the CONSOLEIO_read hypercall in order to read input
data from the Xen console.
Sponsored by: Citrix Systems R&D
dev/xen/console/xencons_ring.c:
- Always return true in xencons_has_input for Dom0.
- Implement Dom0 console support for xencons_handle_input.
2014-08-04 09:02:49 +00:00
Gavin Atkinson
7458a79a14
For reasons which are not clear, r254263 broke some PCMCIA and CardBus
...
bridges in strange ways, either rendering them unable to detect
insertion and removal events, or possibly unable to read from the
device behind the bridge.
This fixes at least one laptop, a Toshiba Tecra M5 with a Texas
Instruments PCxx12 (d=0x8039 v=0c104c) bridge. The very similar
Tecra M9 has the same bridge, but worked fine without this change.
The bridge chip has no I/O port BAR, and there is nothing in the spec
to suggest I/O decoding should be enabled; however enabling it fixes
the issue. Add an XXX comment to this effect.
Discussed with: jhb, imp
MFC after: 2 weeks
2014-08-03 21:56:53 +00:00
Marcel Moolenaar
2ea1fcce34
Fix multicast, broken by the conversion of the nfe(4) driver to the
...
driver API.
Submitted by: Mikhail <mp@lenta.ru>
2014-08-03 16:45:07 +00:00
Aleksandr Rybalko
45dc370059
Allow to disable some special key combinations handled by vt(4), like debug
...
request, reboot request.
Requested by: Claude Buisson
Sponsored by: The FreeBSD Foundation
2014-08-03 13:07:25 +00:00
Aleksandr Rybalko
34cb8c9fb5
Fix vt_vga driver to draw not-8-bit-aligned fonts correctly.
...
Still one bug here: mouse left some gaps on track when moving left.
MFC after: 1 week
Sponsored by: The FreeBSD Foundation
2014-08-03 11:01:35 +00:00
Joerg Wunsch
4cac8309a3
Avoid a divide-by-zero panic when setting the baudrate to 0.
...
MFC after: 2 weeks
2014-08-03 10:47:45 +00:00
Adrian Chadd
8f1d4b2dd6
Do the iwn(4) panic reinitialisation under IWN_LOCK().
...
I've checked each of the functions being called and there's either a
_locked version or it's supposed to be called with IWN_LOCK() held.
2014-08-03 03:51:33 +00:00
Navdeep Parhar
b2c5bf0de2
cxgbe(4): Remove an unused version of t4_enable_vi.
...
MFC after: 2 weeks
2014-08-02 18:37:22 +00:00
Nathan Whitehorn
2661dd32df
Don't assume that the framebuffer driver is using vt_fb_blank() when blanking
...
the screen during init.
MFC after: 1 week
2014-08-02 17:45:08 +00:00
Navdeep Parhar
4d6db4e0f7
cxgbe(4): some optimizations in freelist handling.
...
MFC after: 2 weeks.
2014-08-02 06:55:36 +00:00
Navdeep Parhar
f10405b396
cxgbe(4): Fix an off by one error when looking for the BAR2 doorbell
...
address of an egress queue.
MFC after: 2 weeks
2014-08-02 01:48:25 +00:00
Navdeep Parhar
b2daa9a9cd
cxgbe(4): minor optimizations in ingress queue processing.
...
Reorganize struct sge_iq. Make the iq entry size a compile time
constant. While here, eliminate RX_FL_ESIZE and use EQ_ESIZE directly.
MFC after: 2 weeks
2014-08-02 00:56:34 +00:00
Ian Lepore
f3a4b7f73b
Export an mmc or sd card's serial number from the mmc layer as an ivar.
...
In the mmcsd layer use this value to populate disk->d_ident. Also set
disk->d_descr to the full set of card identification info (includes vendor,
model, manufacturing date, etc).
2014-07-31 16:54:54 +00:00
Kevin Lo
5dc8bea6de
Replace the whole license block with the standard one.
...
Suggested by: emaste
2014-07-31 05:12:21 +00:00
Kevin Lo
77c6646471
In copyright statement correct that the author is me, not Bill Paul.
2014-07-31 03:34:25 +00:00
Steven Hartland
e248a3d1f6
Bring in LSI's phase19 changes
...
* Removed unused mpssas_discovery_timeout function.
* Don't alter mapping boundaries if not raid firmware.
* Check free_busaddr instead of post_busaddr (diff minimisation really)
MFC after: 2 weeks
2014-07-30 18:21:06 +00:00
Steven Hartland
7571e7f64a
Bring in LSI's phase16 - phase18 changes
...
* Implements Start Stop Unit for SATA direct-attach devices in IR mode to avoid
data corruption.
* Use CAM_DEV_NOT_THERE instead of CAM_SEL_TIMEOUT and CAM_TID_INVALID
Obtained from: LSI
MFC after: 2 weeks
2014-07-30 17:58:17 +00:00
Nathan Whitehorn
232490c660
Make mmap() of the console device when using ofwfb work like other supported
...
framebuffer drivers. This lets ofwfb work with xf86-video-scfb and makes
the driver much more generic and less PCI-centric. This changes some
user-visible behavior and will require updates to the xorg-server port
on PowerPC when using ATI graphics cards.
2014-07-29 23:11:05 +00:00
Ed Maste
aed5fb0a32
Correct typo in comment
2014-07-29 14:41:28 +00:00
Alexander Motin
f0389e79cd
Add support for SOUND_MIXER_INFO IOCTL, used by gstreamer.
...
Submitted by: Dmitry Luhtionov <dmitryluhtionov@gmail.com>
MFC after: 2 weeks
2014-07-29 08:31:10 +00:00
Jack F Vogel
60186ca3e7
Add new README to the driver...
2014-07-28 22:23:49 +00:00
Jack F Vogel
9d052f904b
Update the new 40G XL710 driver to Release version 1.0.0
2014-07-28 21:57:09 +00:00
Edward Tomasz Napierala
e403cfdc57
Fix potential double free that could happen after connection error.
...
MFC after: 3 days
2014-07-28 21:14:41 +00:00
Aleksandr Rybalko
eeadf17a21
Revise font initialization handling.
...
MFC after: 1 week
Sponsored by: The FreeBSD Foundation
2014-07-28 14:41:22 +00:00
Aleksandr Rybalko
ba5c073ae3
Update comments.
...
MFC after: 1 week
Sponsored by: The FreeBSD Foundation
2014-07-28 14:37:59 +00:00
Aleksandr Rybalko
5cc762d4c0
Remove special handling of console window size. It's done in vt_upgrade() for
...
all windows.
MFC after: 1 week
Sponsored by: The FreeBSD Foundation
2014-07-28 14:35:21 +00:00
Konstantin Belousov
5d9b4508fd
For md(4), posix shm(3) and tmpfs(5), free swap space used by paged in
...
dirty page, which is written by the process.
Reviewed by: alc
Tested by: pho
Sponsored by: The FreeBSD Foundation
MFC after: 1 week
2014-07-28 14:27:05 +00:00
Aleksandr Rybalko
9a0f8af7d4
Avoid embedding buffers into static virtual terminal window.
...
MFC after: 1 week
Sponsored by: The FreeBSD Foundation
2014-07-28 14:22:34 +00:00
Aleksandr Rybalko
8b1932a845
o Remove useless debug string.
...
o Fix indent.
MFC after: 1 week
Sponsored by: The FreeBSD Foundation
2014-07-28 14:15:41 +00:00
Aleksandr Rybalko
3f71a6b88a
Remove unused macro VT_CONSDEV_DECLARE. Join console device now declared in one
...
place.
MFC after: 1 week
Sponsored by: The FreeBSD Foundation
2014-07-28 14:14:33 +00:00
Adrian Chadd
3fdeac5b5a
Update from mav@ - don't break the input switching.
2014-07-27 20:14:22 +00:00
Adrian Chadd
dcd850637a
Add support for my Lenovo T400.
...
Tested:
* Lenovo T400, model w/ P8700 Intel CPU on-board
2014-07-27 08:44:15 +00:00
Adrian Chadd
9682e34719
Add another revision of the AR8327.
2014-07-26 21:33:17 +00:00
Hans Petter Selasky
0722247439
Split the XHCI TRB allocations into smaller parts, so that we don't
...
end up allocating contiguous busdma buffers above PAGE_SIZE bytes.
MFC after: 1 week
Tested by: Ruslan Bukin <br@bsdpad.com>
2014-07-26 19:08:52 +00:00
Marcel Moolenaar
aa5fed07eb
Remove bogus module dependencies.
2014-07-26 17:57:13 +00:00