msaitoh
b8e169d62e
Use {isa,pci}_intr_establish"_xname"() for intrctl(8).
2017-04-27 10:01:53 +00:00
msaitoh
714b2af146
Make ppb(4) interrupt support stable:
...
- Disable all interrupts in the beginning of attach. Without this, interrupt
storm occurs while cold == 1 on some environment.
- Disable command complete interrput for a while to prevent hangup on some
enviroment. I'm sorry, I don't know what this bit is :-|
- Check all status bits and return 0 if an interrupt is not for me. It's
required for INTx. Tested on XEN3_DOM0 because it doesn't support MSI yet.
- Return 1 when a interrupt is processed.
2017-04-27 04:44:02 +00:00
msaitoh
8b231a4cfb
Check slot registers if a device is PCI/PCI-X to PCI Express Bridge. Tested
...
with Pericom Semiconductors(Diodes) PI7C9X111SL PCIe to PCI Reverse Bridge.
2017-04-27 04:26:12 +00:00
msaitoh
565f97853e
regen.
2017-04-27 03:57:37 +00:00
msaitoh
2c805d1509
- Add some Pericom (Diodes) devices.
...
- s/P17C9/PI7C9/
2017-04-27 03:57:17 +00:00
macallan
5d27161240
properly optimize drawing stretches of blanks that are interrupted only by
...
a change in background colour or flags
2017-04-26 21:03:52 +00:00
nat
3b12355461
Improved blksize calculation.
...
audio_fill_silence instead of audio_pint_silence for the mix ring.
Addresses PR kern/52195.
2017-04-26 11:32:04 +00:00
msaitoh
b4bafc1cd0
Disable ppb(4)'s interrupt for a while. It causes hangup on some environment.
...
Define PPB_USEINTR if you'd like to use interrupt.
2017-04-26 08:00:03 +00:00
msaitoh
5cf0c5d4c5
Disable and disestablish interrupt in ppbdetach().
2017-04-26 03:54:37 +00:00
jmcneill
b96c013d05
Allow for specifying (optional) pass number locator for devices at fdt.
2017-04-26 01:51:52 +00:00
snj
35b2078af2
fix typo
2017-04-25 17:11:47 +00:00
skrll
a06215af07
In umass_detach set sc_dyring so that further attempts at transfers will
...
fail. This fixes part of
PR/51129 (Disconnecting USB SD card without umount causes file operations to hang)
2017-04-25 05:36:03 +00:00
chs
af56b75b7d
in ppbdetach(), try to detach the children before tearing down our own state,
...
to avoid trouble if detaching the children fails.
2017-04-24 23:01:45 +00:00
jakllsch
21b2f5c766
Fix PRB blanking, so as not to stomp on the feet of neighboring slots.
...
Also, don't blank some PRB fields twice.
[:U+1F633:]
2017-04-24 21:14:32 +00:00
jakllsch
1354b99dc3
Fix typo in comment.
2017-04-24 13:19:50 +00:00
jakllsch
c87f6aceb5
Drop unused prototype. Whitespace fixes. Wrap/re-wrap long lines.
2017-04-24 12:58:15 +00:00
jakllsch
5b3ab85f11
Add PR_PS_ACTIVE_SLOT bits.
2017-04-24 12:53:28 +00:00
jakllsch
899a418d4b
Whitespace fixes.
2017-04-24 12:52:05 +00:00
jmcneill
ba5a8fdaef
If the stdout-path property is missing on /chosen, assume serial0:115200n8
2017-04-24 10:56:03 +00:00
jmcneill
db3334b141
Defer acquiring the gpio until first use.
2017-04-24 10:55:26 +00:00
jdolecek
52d7de9781
remove the workaround for Seagate 'mod15write' bug, now driver only prints
...
error on boog; unfortunately the code actually doesn't work, and there is
little point trying to fix
2017-04-24 09:42:52 +00:00
jmcneill
cd139f033f
remove unused field in softc
2017-04-22 23:50:13 +00:00
jmcneill
4a00a79174
Add SD0 regulator.
2017-04-22 23:46:29 +00:00
jmcneill
872a36d5d4
Add a vendor callback for setting signal voltage.
2017-04-22 21:49:41 +00:00
jmcneill
115ef3a70e
Add LDO6 regulator support.
2017-04-22 21:48:56 +00:00
jmcneill
d1727b276a
Add regulator APIs for setting and getting voltage.
2017-04-22 21:47:41 +00:00
macallan
b810592ab9
add RI_PREFER_ALPHA flag, for drivers that can draw such fonts by hardware
2017-04-22 15:05:02 +00:00
jmcneill
71dda27406
Ensure that the task is returned to the free task list in an error branch.
2017-04-22 14:19:36 +00:00
jmcneill
48963fbd88
Add support for AS3722 RTC.
2017-04-22 13:26:05 +00:00
jmcneill
f57a76a7d7
Add fdtbus_todr_attach.
...
The kernel will only ever use the first RTC driver to call todr_attach.
When drivers use fdtbus_todr_attach, if an "rtc0" alias exists in the
devicetree, ensure that only that device node calls todr_attach.
2017-04-22 13:24:20 +00:00
nat
d8e7cbe075
If there is no data in the mix ring, insert silence.
...
This will ensure that the hardware output pointer remains valid.
2017-04-22 10:37:51 +00:00
jmcneill
d343fa5477
Add some helpers to find the stdout device.
2017-04-21 23:35:01 +00:00
jmcneill
74e0d90157
Avoid using kmem in fdtbus_get_reg so we can use it early at boot to read
...
the physical memory layout of the system.
2017-04-21 21:08:57 +00:00
jmcneill
10ea0ce986
dmesg fix
2017-04-21 19:18:05 +00:00
christos
e555bfe3f6
Add some more products
2017-04-21 15:06:37 +00:00
kre
bfbd326990
For want of a comma, the compiler was lost.
2017-04-21 11:49:31 +00:00
msaitoh
4ed5b7c993
Add Flattening Portal Bridge capability ID and Hierarchy ID extended
...
capability ID.
2017-04-21 09:01:52 +00:00
msaitoh
26079ea3f0
5776[0156], 5778[02568] and 5779[015] are not Fast Ethernet but
...
Gigabit Ethernet.
2017-04-20 09:18:05 +00:00
msaitoh
07f767d482
Fix device timeout problem when MSI is used on BCM57762, BCM57765 and
...
BCM57785. Check correctly for BGEF_TAGGED_STATUS. These devices' ASCI core is
BCM5776[56]. Other BSD's BGE_IS_5717_PLUS() include BCM5776[56] but ours
doesn't (because Linux tg3 does so).
Tested with snj's MacBook (BCM57765 (BCM57765 B0 ASIC)) and my Acer Aspire
One 756 (BCM57785(BCM57765 B0 ASIC)). Also Thunderbolt Ethernet
(BCM57762 (BCM57766 A0 ASIC)) should work.
2017-04-20 09:03:04 +00:00
msaitoh
c6ed37c2be
Add Downstream Port Containment (DPC) ECN and Enhanced DPC(eDPC) ECN.
2017-04-20 08:45:25 +00:00
msaitoh
5b60743311
Add 0x for register output.
2017-04-20 05:48:38 +00:00
msaitoh
32cc977d83
Add another BCM4401 chip support.
2017-04-19 07:35:44 +00:00
msaitoh
6bddabc9e6
regen.
2017-04-19 06:54:14 +00:00
msaitoh
85ce0132f1
Add BCM4401 B0 step. Old BCM4401 B0 entry is changed to B1. From OpenBSD.
2017-04-19 06:53:52 +00:00
msaitoh
28ec51dec1
Use macro. No binary change.
2017-04-19 06:52:11 +00:00
jmcneill
f76ec87293
Fix value for RE_TDESC_CMD_LGSEND_V6 (currently unused)
2017-04-19 02:21:53 +00:00
jmcneill
cf1efaaa6a
Performance improvements for PCIe and 8168 based devices:
...
- When using the countdown timer for interrupt moderation on PCIe devices,
use a timer rate value based on a 125MHz PCIe reference clock instead of
33 MHz.
- For 8168 based devices, ditch the countdown timer and instead use the
(undocumented) hardware interrupt moderation feature.
- Support TSOv4 on 8168D and later devices.
2017-04-19 00:20:02 +00:00
riastradh
c248891802
Modularize ualea(4).
...
Unclear why we have a separate xyz.ioconf for module and XYZ.ioconf
for rump component, but at least xyz_modcmd obviates the need for
xyz_component.c (though evidently the latter could have been replaced
anyway by RUMP_COMPONENT=ioconf in the rump component Makefile).
2017-04-19 00:01:38 +00:00
riastradh
82d8a876d9
regen
2017-04-18 19:10:58 +00:00
riastradh
cf753d303a
gson@ informs me the Alea I and II have the same USB product id.
...
Thus, ualea(4) should work for both of them. Rename USB product id
ARANEUS ALEA_II to ARANEUS ALEA to reflect this.
No functional change intended, except perhaps via usbdevs.
2017-04-18 19:09:12 +00:00