christos
76c55f5ab8
PR/50898: David Binderman: remove redundant memset.
2016-03-06 19:42:25 +00:00
christos
a2f023e884
PR/50874: David Binderman: unsigned can't be negative
2016-02-29 18:18:04 +00:00
christos
7bafbf922e
PR/50818: David Binderman: Delete dead code (copied from if_et.c)
2016-02-17 20:05:45 +00:00
christos
90f8d4262f
PR/50817: David Binderman: Delete dead code (copy from if_et.c)
2016-02-17 20:04:39 +00:00
christos
f6aa81a51c
PR/50819: David Binderman: Delete dead code.
2016-02-17 20:02:41 +00:00
christos
6e07b6674d
PR/50820: David Binderman: Fail when !(edge|pulse) instead of !edge && edge
2016-02-17 20:00:15 +00:00
chs
2f02870f3b
zero the i2c_attach_args structure before filling it in.
...
fixes occasional crashes in iic_attach().
2016-02-14 19:54:19 +00:00
mrg
7202fb4d10
regen.
2016-02-12 08:36:29 +00:00
mrg
ad9be1f043
add several NVIDIA geforce and NVS cards.
2016-02-12 08:36:08 +00:00
ozaki-r
9c4cd06355
Introduce softint-based if_input
...
This change intends to run the whole network stack in softint context
(or normal LWP), not hardware interrupt context. Note that the work is
still incomplete by this change; to that end, we also have to softint-ify
if_link_state_change (and bpf) which can still run in hardware interrupt.
This change softint-ifies at ifp->if_input that is called from
each device driver (and ieee80211_input) to ensure Layer 2 runs
in softint (e.g., ether_input and bridge_input). To this end,
we provide a framework (called percpuq) that utlizes softint(9)
and percpu ifqueues. With this patch, rxintr of most drivers just
queues received packets and schedules a softint, and the softint
dequeues packets and does rest packet processing.
To minimize changes to each driver, percpuq is allocated in struct
ifnet for now and that is initialized by default (in if_attach).
We probably have to move percpuq to softc of each driver, but it's
future work. At this point, only wm(4) has percpuq in its softc
as a reference implementation.
Additional information including performance numbers can be found
in the thread at tech-kern@ and tech-net@:
http://mail-index.netbsd.org/tech-kern/2016/01/14/msg019997.html
Acknowledgment: riastradh@ greatly helped this work.
Thank you very much!
2016-02-09 08:32:07 +00:00
christos
f171510204
PR/50785: David Binderman: Remove dead code.
2016-02-08 16:27:51 +00:00
riastradh
3b7052de65
Avoid shadowing global `min'.
2016-02-06 02:40:49 +00:00
riastradh
98b6c9f000
Convert bool to target type before shift.
2016-02-06 02:39:51 +00:00
riastradh
e3e7bedb8f
Avoid shadowing global `min'.
2016-02-06 02:39:18 +00:00
riastradh
843556aa56
Missed a spot.
2016-02-06 01:59:55 +00:00
riastradh
cd82f6357a
Avoid shadowing global `max' from libkern.
2016-02-06 01:51:39 +00:00
msaitoh
0fce7fa801
s/max/ralmax/. No functional change.
2016-02-05 13:06:24 +00:00
christos
c41563914b
PR/50738: David Binderman: Check bounds before dereferencing.
2016-02-01 17:40:49 +00:00
msaitoh
ca22ec0521
Add parenthesis for the addr argument of ISMT_DESC_ADDR_RW(addr, is_read).
...
It was no real bug.
2016-02-01 08:53:36 +00:00
msaitoh
fe39cc6e62
Rename macro (sync with pcidevs rev. 1.1246). No functional change.
2016-02-01 08:28:48 +00:00
msaitoh
e376993f6f
Regen.
2016-02-01 08:27:43 +00:00
msaitoh
7c4512ae81
- s/82081/82801/ from OpenBSD.
...
- 0x2829 is SATA. 0x282a is RAID.
2016-02-01 08:27:17 +00:00
msaitoh
88a09f8d64
Remove debug message.
2016-01-29 11:30:03 +00:00
christos
0448bcb7e1
PR/50694: David Binderman: Fix wrong pasto constant.
2016-01-26 16:02:50 +00:00
christos
bfcb7feefd
PR/50693: David Binderman: Fix constant pasto.
2016-01-26 16:01:45 +00:00
macallan
c26dfe7d4b
add another special case so SM50x's framebuffer gets mapped with prefetching /
...
write combining enabled.
This needs to be generalized somewhere...
2016-01-23 17:09:51 +00:00
msaitoh
61aa8e2a99
Regen.
2016-01-22 09:34:44 +00:00
msaitoh
1cc88c1f25
Add anoter new I219-LM.
2016-01-22 09:34:26 +00:00
macallan
9d1a225520
some trivial fixes:
...
- rearrange dmesg output so all values are printed properly
- use aprint_*
- support WSDISPLAYIO_GET_FBINFO
2016-01-13 15:56:05 +00:00
christos
9347090421
PR/50636: Ryo ONODERA: Reduce memory use
2016-01-10 03:07:50 +00:00
christos
e950a86b45
PR/50636: Ryo ONODERA: Fix incorrect kmem_free()
2016-01-10 03:07:25 +00:00
msaitoh
581a9b6ef7
- printf->DPRINTF in wm_serdes_mediastatus().
...
- KNF.
2016-01-07 10:08:18 +00:00
christos
07b4c9d529
fix 32 bit compilation
2016-01-06 03:53:29 +00:00
msaitoh
9aa4565f53
Add ismt(4).
2016-01-05 12:18:42 +00:00
msaitoh
e58c654dad
Port FreeBSD's ismt(4) driver. ismt(4) supports Intel Chipset internal
...
SMBus 2.0 controller with DMA. It's different from ichsmb(4). Supported
chipsets are S1200 and C2000.
2016-01-05 11:24:43 +00:00
macallan
c8234e40d8
zero out struct i2cbus_attach_args and i2c_controller before messing with
...
them
2016-01-01 20:48:15 +00:00
msaitoh
b8537bdf10
Modify comment for 82544 Errata 9 "Certain register cannot be written with
...
particular alignments in PCI-X bus operation".
2015-12-25 05:45:40 +00:00
msaitoh
0263b84cb0
- Fix RAL table's size of PCH2 and PCH_LPT.
...
- PCH_LPT (and newer device) is required to check FWSM_WLOCK_MAC bit to
determine the range of the RAL.
- Fix typo in comment and modify comment by tnn@.
- Rename wm_check_reset_block() to wm_phy_resetisblocked() and make it returns
bool. No functional change.
2015-12-25 04:50:16 +00:00
knakahara
897ca22b6e
fix potentially bug
2015-12-22 02:17:21 +00:00
knakahara
06b11825c2
fix incorrect KASSERT
2015-12-22 02:10:25 +00:00
knakahara
619f0cc282
set Tx/Rx interrupts affinity to other than CPU#0 as much as possible
2015-12-18 09:57:57 +00:00
jakllsch
1dd5ef5f08
Switch PCI re(4) attachment from pci_intr_map() to
...
pci_intr_alloc()/pci_intr_release().
This enables MSI where available.
2015-12-14 20:01:17 +00:00
christos
efcbf20b13
PR/50527: David Binderman: Fix impossible code. Odd offsets need special
...
treatment.
2015-12-13 19:06:43 +00:00
christos
94b599c97e
PR/50536: David Binderman: fix incorrect sizeof
2015-12-13 18:29:00 +00:00
pgoyette
15d8e3db1c
Initialize the mutex before calling xxx_rescan(). Otherwise if we
...
load/attach an i2cbus at a later time (ie, load the iic module),
we'll end-up re-initializing the mutex.
(Caught with a LOCKDEBUG kernel)
2015-12-10 05:29:41 +00:00
msaitoh
95bb303660
Add Intel 100 Series chipset's devices.
2015-12-01 10:08:03 +00:00
msaitoh
98758a1b29
regen.
2015-12-01 09:37:17 +00:00
msaitoh
3ea351c27a
Add Intel 100 series chipset devices from "Table 2-1. PCH-H Device and
...
Revision ID Table, Intel 100 Series Chipset Family Platform Controller
Hub(PCI) Datasheet".
2015-12-01 09:36:52 +00:00
msaitoh
d92e2f3208
regen.
2015-12-01 08:40:34 +00:00
msaitoh
6554242ba8
Add Intel Core 6G devices from datasheets.
2015-12-01 08:40:06 +00:00