summaryrefslogtreecommitdiff
path: root/sys/dev
AgeCommit message (Collapse)Author
2014-12-02regenBrad Smith
2014-12-02Add Samsung SSD controller.Brad Smith
2014-12-01rxr ioctl handling.Brad Smith
2014-11-30Don't overwrite fields in the message when setting up the REMOTE_NDIS_SET_MSGMark Kettenis
command in urndis_ctrl_set(). Seems many RNDIS hardware doesn't care about the overwritten fields, but the SunMicro Virtual Eth Device found in newer Oracle SPARC hardware does. ok armani@
2014-11-29rxr ioctl handling.Brad Smith
ok sf@
2014-11-28regenMark Kettenis
2014-11-28Add a few entries for SPARC T3/T4/T5/M5 machines. The IDT 89H64H16G3 entryMark Kettenis
is a bit of a guess, but it is the only PCIe Gen3 part listed on their website that has enough lanes/ports.
2014-11-27Previous change wasn't quite right and broke "classic' PCI sparc64 machines.Mark Kettenis
Undo the code rearrangement in rev. 1.108 but keep the sparc64-specific code dealing with non-prefetchable 64-bit BARs. Found out the hard way by stsp@
2014-11-27Another spot where the VLAN tag doesn't need swapping in the currentlyBrad Smith
unused TSO code. ok mikeb@
2014-11-27Garbage collect some bits that were never used.Brad Smith
ok mikeb@
2014-11-27Fix a long standing bug in MAC statistics register access. OneBrad Smith
additional register was erroneously added in the MAC register set such that 7 TX statistics counters were wrong. From FreeBSD ok mikeb@
2014-11-27Use dv_xname instead of if_xname to establish our interrupt. The latter isMark Kettenis
still unset when at this point, and some MD variants of pci_intr_establish(9) make a copy of the string instead of storing a pointer. Makes vmstat -i properly print the device name on sparc64. ok mikeb@, deraadt@
2014-11-27rxr ioctl handling.Brad Smith
2014-11-27rxr ioctl handling.Brad Smith
2014-11-26The onboard ix(4) interfaces on the SPARC T5 machines don't have a valid MACMark Kettenis
address in their EEPROM. Use the MAC address given by the "local-mac-address" Open Firmware property instead. ok mikeb@, deraadt@
2014-11-26Seems Sun^H^H^HOracle is doing something naughty and (deliberately) putsMark Kettenis
non-prefetchable BARs of the onboard mpii(4) behind a prefetchable memory range on the bridge it sists behind. Since we rely on the formware to program BARs for us on sparc64, add a workaround to avoid whacking these BARs and make the machine panic later when it tries to access the registers. ok miod@, deraadt@
2014-11-26dont swap the vlan tag twice on big endian archs for transmit.David Gwynne
ok mikeb@
2014-11-24rxr ioctl handling.Brad Smith
ok mpi@
2014-11-24Fix some issues with 64-bit BARs behind PCI-PCI bridges.Mark Kettenis
Actual BARs that have the upper 32-bits set seen in the wild now on a SPARC T5-2 system. Tested by many.
2014-11-24No point in setting the Interrupt-on Short Packet bit on OUT endpoint.Martin Pieuchot
As explained in section 4.11.7 it should be used when a device is allowed to supply less data than the provided buffer space.
2014-11-24In debug mode, print more information when a transfer is aborted and useMartin Pieuchot
a different index value for a chained TRB and a freed one.
2014-11-24rxr ioctl handling.Brad Smith
2014-11-24Count how many lids are open, rather than accumulating the values ACPITheo de Raadt
gives for true (could be "1", for all we know) ok mlarkin
2014-11-24- Check IFF_RUNNING in xl_intr().Brad Smith
From FreeBSD - Clear IFF_RUNNING at the top of xl_stop() before freeing resources. Tested with 3c905C.
2014-11-24use the correct capitalization for Realtek.Brad Smith
2014-11-24regenBrad Smith
2014-11-24use the correct capitalization for Realtek.Brad Smith
2014-11-23regensasano
2014-11-23SILABS CP210X_4(0x10c4:0xea80) is no longer CP210x family.sasano
This is CP2110 USB-HID UART bridge, fixed. ok by mpi@
2014-11-23USB_VENDOR_SILABS:USB_PRODUCT_SILABS_CP210X_4(0x10c4:0xea80) issasano
not CP210x family. removed. ok mpi@
2014-11-23If a machine has no _LIDs, then none can be open. This diff fixes a problemMike Larkin
where machines without any _LIDs were going back to sleep after hibernate due to the recent suspend-if-lid-closed-on-resume diff. Noticed on qemu, which doesn't have any _LIDs. discussed with deraadt
2014-11-23Revert the logic to skip ports which status hasn't changed, it introducesMartin Pieuchot
a regression reported by ajacoutot@.
2014-11-23Be less verbose when opening a pipe and print the endpoint & slotMartin Pieuchot
when submitting a command. No change for non-XHCI_DEBUG kernel.
2014-11-23Move link state handling into re_miibus_statchg().Brad Smith
From FreeBSD Tested with 8168D / 8168G.
2014-11-22Split the MP trampoline into two pages, one for code and one for data/stackMike Larkin
and then protect the code page as RX and the data/stack page as RW (NX). ok deraadt@
2014-11-20Fix previous.Landry Breuil
Build failure reported by Sebastien Marie testing & ok phessler@
2014-11-20Force a status check of all the ports of a newly attached hub. In theMartin Pieuchot
interrupt routine properly initialize a variable. Finally stop talking about the "bus event handler thread". Our USB stack has only one thread doing discovery for all buses. Prompted by a report from Patrick Wildt.
2014-11-20oops, mangled the prototypeTheo de Raadt
2014-11-20- Remove some unused #if 0'd code which does not pertain to OpenBSDBrad Smith
- Remove a bogus if_ierrors++ which if the counter was incremented it would be overwritten by ixgbe_update_stats_counters() ok mikeb@
2014-11-20Rename slow_ovbcopy() to slow_bcopy(), since ovbcopy means nothing toTheo de Raadt
the young kids and old greybeards who know that bcopy has always handled the ov case.
2014-11-19Copy over some recent commits from ix(4)..Brad Smith
- remove pointless timeout_del/add dance in the interrupt handler - don't try to update the link status every second - Gather full statistics only when EM_DEBUG is defined ok mikeb@
2014-11-19Add support for stopping the operation of the chipset within re_stop()Brad Smith
for newer generations of chipsets. From FreeBSD Tested with 8169, 8168C, 8168D, 8168G and by stsp@ with WOL.
2014-11-18Nuke yet more obvious #include duplications.Kenneth R Westerback
ok miod@
2014-11-18dc_init() calls dc_stop() and dc_reset() so remove some redundant callsBrad Smith
to those functions before dc_init() within dc_watchdog() and dc_intr(). ok deraadt@
2014-11-18move arc4random prototype to systm.h. more appropriate for most codeTed Unangst
to include that than rdnvar.h. ok deraadt dlg
2014-11-18Use pa_device to ensure each MAC address of a multi port boardBrad Smith
is unique; as done by hme(4). ok deraadt@
2014-11-17Add quirks for the "Realtek ALC885" found on MacMini3.1, unmutes theLandry Breuil
internal speaker, line input and hp output. Tested on i386/amd64. hints/help & ok ratchov@
2014-11-16Two fixes to make Qemu and VMware xHCI implementations work:Martin Pieuchot
1. Always unmask the slot context for the "Set Address" command. 2. Use the right spl when submitting a transfer to prevent from setting up a timer on an already completed xfer. Analyzed with and ok jsg@
2014-11-16Replace a plethora of historical protection options with justTheo de Raadt
PROT_NONE, PROT_READ, PROT_WRITE, and PROT_EXEC from mman.h. PROT_MASK is introduced as the one true way of extracting those bits. Remove UVM_ADV_* wrapper, using the standard names. ok doug guenther kettenis
2014-11-16Allow the driver to be able to retrieve the MAC address from the ROMBrad Smith
for NS Saturn based boards. From NetBSD ok deraadt@