Commit Graph

33911 Commits

Author SHA1 Message Date
msaitoh
2611132dfa regen. 2017-01-15 04:44:01 +00:00
msaitoh
54c6a640e7 Add Intel 200 series chipset devices from "Table 2-2. PCH-H Device and
Revision ID Table, Intel 200 Series Chipset Family Platform Controller
Hub(PCI) Datasheet Volume 1 of 2 (335192-001)".
2017-01-15 04:43:27 +00:00
msaitoh
1f29083405 regen. 2017-01-15 03:49:43 +00:00
msaitoh
523877e8d7 Add Core 7G devices from "7th Generation Intel Processor Families for
{S, U/Y, H} Platforms Datasheel Volume 2 of 2" (S: 335196-001, U/Y: 334662-002,
H: 335191-001). For 0x5906 (U processor, HD Graphics 610), it's taken from
ark.inte.com.
2017-01-15 03:49:09 +00:00
nat
46500ac1bd Forgot not to decrement sc_opens on unsuccessful open. 2017-01-15 00:04:01 +00:00
nat
bfd0925ed4 Increment sc_opens only after channel is set up.
It should help PR kern/51746: Panics from audio.
2017-01-14 20:05:37 +00:00
maya
d7b97dde8a Remove more dead code
RAY_DEF_NWID is a constant string and so is the length, it's
pointless the length is larger than zero.
2017-01-13 14:48:18 +00:00
christos
c0614acad2 more faithful to the original (from coypu) 2017-01-13 13:01:13 +00:00
nonaka
4480eb3627 iwm(4): 3165 works fine with iwlwifi-7265D-17.ucode firmware.
firmware from http://git.kernel.org/cgit/linux/kernel/git/iwlwifi/linux-firmware.git/tree/?id=be8a6fcba2e48e00674d1f35e6def56e2268039c
2017-01-13 11:21:47 +00:00
christos
15a8367e55 Don't consider a disk hosed if we did not find a column for it; dedup code. 2017-01-13 04:22:16 +00:00
maya
f8d901fcdb Appease coverity which is having nightmares about strings not being
null-terminated by using strlcpy rather than strncpy when it doesn't
matter.

ok christos.
2017-01-12 18:26:08 +00:00
maya
23a5d00df5 Remove dead code. RAY_DEF_NWID is a constant string, its length will never
be above 32.
2017-01-12 17:11:22 +00:00
maya
3a46f472fa fix off by one 2017-01-11 22:09:38 +00:00
maya
92fa6e3b61 fix off by one.
ok riastradh
2017-01-11 21:44:50 +00:00
skrll
00e972f6cc adatper -> adapter 2017-01-11 07:16:48 +00:00
christos
995970bea7 Needed <sys/time.h> that it got in the past by side-effect loading
of <sys/stat.h> from <fcntl.h>. Go figure.
2017-01-10 20:08:52 +00:00
msaitoh
3370e40e09 remove debug printf(). 2017-01-10 08:57:39 +00:00
msaitoh
c1c625981d Fix previous. The last code wasn't called. 2017-01-10 08:56:02 +00:00
nonaka
828cd2070c check LAR support in NVM for 8260/4165. 2017-01-10 08:40:27 +00:00
knakahara
5e94416e6b sc->sc_core_stopping must be checked with holding sc_core_lock.
pointed out by ozaki-r@n.o, thanks.
2017-01-10 08:22:43 +00:00
nonaka
e82ddf504e Add apmg_wake_up_wa support from DragonFly BSD. 2017-01-10 07:34:04 +00:00
nonaka
de8f7f2d15 iwm(4): 8260 works now. 4165 may works too. 2017-01-10 05:54:03 +00:00
nonaka
cbfc1fcaf0 regen 2017-01-10 05:05:09 +00:00
nonaka
54fcf2a2c7 Add Intel Dual Band Wireless 8265 entry. 2017-01-10 05:04:31 +00:00
nonaka
d8b884b552 set NULL after free. 2017-01-10 04:27:04 +00:00
kiyohara
258d35a1f0 Add ATTR_AXI_DDR. 2017-01-09 14:06:35 +00:00
nonaka
7c6217ca14 Apply OpenBSD if_iwm.c rev.1.148.
> While setting up the basic rate bitmask for iwm's firmware, if the AP does
> not specify basic rates for either the CCK or OFDM set, add just the most
> basic rate to that set (1 Mbit/s in case of CCK, 6 Mbit/s in case of OFDM).
> This behaviour matches what code comments seem to imply.

> The previous code would add all possible basic rates in such cases.
> So if all basic rates were CCK only, the code would add all possible OFDM basic
> rates on top. Then the firmware would send some frames at too high rates, e.g.
> RTS frames would be sent at 24Mbit/s which is a bit risky on noisy channels.
2017-01-09 12:45:49 +00:00
khorben
6034e379b4 Do not use the "flags" field uninitialized
A backport if iwm(4) (to netbsd-7) does not build without this change.

LGTM nonaka@
2017-01-09 10:42:45 +00:00
nonaka
5685a4db88 Added enum iwm_tx_pm_timeouts from FreeBSD. 2017-01-09 09:15:54 +00:00
nonaka
178b5b9e14 cosmetic. 2017-01-09 08:10:25 +00:00
nonaka
2f38266c0a use correct header size. 2017-01-09 08:05:14 +00:00
nonaka
460b02d009 fix indent 2017-01-08 08:29:23 +00:00
nonaka
2dcd42398d iwm(4): make interrupt routine running on softint context.
see http://mail-index.netbsd.org/tech-kern/2016/12/06/msg021281.html
2017-01-08 07:42:00 +00:00
nonaka
55784dc0a6 use pci_intr_establish_xname(9). 2017-01-08 06:49:10 +00:00
nonaka
70ea049dff twiddle bpf related. 2017-01-08 06:48:06 +00:00
nonaka
d4ba81213b cosmetic 2017-01-08 06:23:29 +00:00
christos
863d66edc3 kill alloca in favor of ssp 2017-01-07 21:11:14 +00:00
martin
b42e1be68a Add missing includes 2017-01-07 16:24:40 +00:00
kiyohara
e741f78902 Add flags SDHC_FLAG_NO_AUTO_STOP and SDHC_FLAG_NO_BUSY_INTR. 2017-01-07 15:05:08 +00:00
kiyohara
322a2dc1e7 Don't access SDHC_HOST_CTL_VERSION, if iosize less than this. 2017-01-07 15:00:38 +00:00
kiyohara
8ad0b04215 Support retry when error. like wd(4). 2017-01-07 14:49:53 +00:00
kiyohara
463bc92121 Support Marvell Dove. Use irq array. Dove's irqs not sequencial.
And remove debug printf().
2017-01-07 14:44:26 +00:00
kiyohara
8f245e3b7f Remove unused function. 2017-01-07 14:36:51 +00:00
kiyohara
f342ff86d4 Fix macro MVXORE_CHAN2BASE(). The XORE has 2 channels per port. 2017-01-07 14:32:32 +00:00
kiyohara
e51c7e73b4 Add tags for AXI_CS[01]. 2017-01-07 14:26:37 +00:00
kiyohara
ba749f27a4 Support Marvell Dove. 2017-01-07 14:24:27 +00:00
kiyohara
89ea2da7c5 Change MVSPI_SIZE to 0x80 instead of 0x50. 2017-01-07 14:19:45 +00:00
pgoyette
d020b0ddde Implement a common spkr_detach() function and call it from the
attachment-specific detach functions.  Returns EBUSY if the
device instance is busy, based on whether or not a sc->sc_inbuf
is allocated.  The buffer is malloc()d at spkropen time, and is
free()d in spkrclose().

Now we can actually implement the MODULE_CMD_FINI command and
unload the driver at will.

Addresses my PR kern/51785
2017-01-06 09:32:08 +00:00
msaitoh
be2192bb96 - Set IPV6EXDIS bit in RFCTL register because of an Errata on 82575 and newer
devices.
- Update comment in wm_init_rss().
2017-01-06 08:05:26 +00:00
mlelstv
65353cac77 Fix memory leak.
Found by maxv@
2017-01-05 16:35:33 +00:00