Commit Graph

30459 Commits

Author SHA1 Message Date
msaitoh
9de0c89abb regen. 2013-06-05 05:19:11 +00:00
msaitoh
016555b5da Add some Intel devices from the following datasheets:
- Desktop 4th Generation Intel Core Processor Family Datasheet Volume 2 of 2
 - Mobile 4th Generation Intel Core Processor Family Datasheet Volume 2 of 2
 - Intel Xeon Processor E3-1200 v3 Product Family  Datasheet Volume 2 of 2
2013-06-05 05:18:44 +00:00
msaitoh
ccd17a16c3 Fix a bug that the check of reset complete fails on Intel 8 series with
"wm_lan_init_done: lan_init_done failed to complete" message.
The broken code was used for ICH8, 9... and PCH2 but I've never seen the
problem.
2013-06-04 16:55:07 +00:00
msaitoh
0ca069e8bb regen 2013-06-04 13:58:12 +00:00
msaitoh
8a3f000cf5 Add some Intel devices from document (Intel 8 Series / C220 Chipset
Family Platform Controller Hub (PCH) Datasheet)
2013-06-04 13:57:48 +00:00
christos
2fa09f799a widen the operation on the RHS as suggested in the PR. 2013-06-03 21:01:18 +00:00
msaitoh
997d64307d Use wm_gmii_hv_{read,write}reg() for I21[78]. 2013-06-03 18:47:52 +00:00
christos
417a118725 PR/47879: Takahiro HAYASHI: vnd cannot handle disk image larger than 2TiB
change size_t to uint64_t where needed.
2013-06-03 16:42:32 +00:00
msaitoh
c97206f9de Add Intel 8 Series KT. 2013-06-03 16:21:50 +00:00
msaitoh
c8bf6857f2 Regen. 2013-06-03 16:21:17 +00:00
msaitoh
e8b452b14e Add Intel 8 Series KT. 2013-06-03 16:20:53 +00:00
msaitoh
caa514cdf8 Cleanup. No functional change. 2013-06-03 01:31:37 +00:00
msaitoh
ee6c864922 - Fix a bug that wm_attach() may fail on some PCH2 or newer system.
wm_valid_nvm_bank_detect_ich8lan() misunderstood the NVM's bank number.
  Fixes PR#47878
- Remove a quick hack for NVM checksum that I added in last commit (rev. 1.249)
2013-06-02 17:23:33 +00:00
mlelstv
e4c6cefc70 The hardware only supports xon/xoff processing for both directions together,
enable it only if both directions are requested.
2013-06-02 12:45:00 +00:00
msaitoh
d403328cb4 Add I217 (and I218) support.
- The name of I217 is similar to I210, but the function is rather similar to
  PCH2.
- Not tested well. Tested with my own Intel DQ87PG which has I217LM onboard.
- It seems that PCH2 and PCH_LPT specific function for RAL should be written.
- Quick hack for the NVM checksum mismatch. if_wm.c currently has no
  wm_write_eeprom(), so it cannot update NVM's "updated bit". To avoid this
  problem, check only the last 12bits of the checksum. My own DQ87PG's
  updated bit is not set, and I could avoid the problem using with this
  hack.
2013-06-02 09:36:22 +00:00
msaitoh
aad6e39e2f regen 2013-06-02 09:13:27 +00:00
msaitoh
b20e6dbf2e Intel I217 PHY 2013-06-02 09:13:07 +00:00
msaitoh
72571d1b0a - Revert rev. 1.250. I really misunderstood. Add some comments.
- Set DMA watermark depend on the PCI max payload size.
2013-05-31 17:48:12 +00:00
msaitoh
66c65a0d58 Remove unused macros. 2013-05-31 17:15:19 +00:00
martin
0664111be5 Avoid dereferencing an uninitialized pointer 2013-05-30 08:28:13 +00:00
msaitoh
d3b843151d 0x4B657654(BGE_SRAM_FW_MB_MAGIC) == ~0xB49A89AB(BGE_SRAM_FW_MB_RESET_MAGIC),
so the same code I added in rev. 1.223 exists in bge_poll_fw(), too. Remove it.

 And then, call bge_poll_fw() before writing BGE_MODE_CTL register like the
latest linux tg3 dirver.
2013-05-30 05:50:06 +00:00
christos
bc15abe61d eliminate sc_size and fix printf formats 2013-05-29 23:37:10 +00:00
christos
96636d6c11 eliminate dk_geom 2013-05-29 23:25:55 +00:00
christos
1af75d448c eliminare dk_geom 2013-05-29 23:25:39 +00:00
martin
3cc48cf784 Fix signature of capi_ll_control.
From Wolfgang Stukenbrock in PR kern/47863.
2013-05-29 09:26:02 +00:00
msaitoh
36a4e06a9b Use BGE_SETBIT() instead of CSR_WRITE_4() for the BGE_MISC_LOCAL_CTL register
to not to modify some GPIO bits.
2013-05-29 08:24:06 +00:00
christos
7b845fa9dc phase 1 of disk geometry cleanup:
- centralize the geometry -> plist code so that we don't have
	  n useless copies of it.
2013-05-29 00:47:48 +00:00
msaitoh
30283a32bb Fix a bug that the MAC_MODE register is incorrectly set in bge_reset(). 2013-05-28 17:03:34 +00:00
macallan
9373d84081 add a bunch of register definitions and clarify some comments 2013-05-28 15:25:37 +00:00
kiyohara
267ad36130 Add KingSun/DonShine IRDA dongle. 2013-05-28 12:03:26 +00:00
macallan
e8a38776d4 in vcons_redraw_screen():
- if RI_FULLCLEAR is set and we use it to clear the screen, don't draw any
  whitespaces with the default background colour
- draw stretches of whitespaces with the same background colour using erasecols
2013-05-28 11:04:04 +00:00
macallan
7cccdd71c6 support RI_FULLCLEAR 2013-05-28 10:55:34 +00:00
msaitoh
2256ef262c Fix a bug that the PHY address bits in MI_MODE register is wrongly cleard.
Set the PHY address correctly.
2013-05-28 05:55:40 +00:00
kiyohara
f4a16f4c2b Regen. 2013-05-27 16:38:35 +00:00
kiyohara
413fa298d2 Add vendor KingSun and IrDA product. 2013-05-27 16:32:58 +00:00
kiyohara
07f928ec11 Split IrDA SIR part for other SIR device. 2013-05-27 16:23:20 +00:00
msaitoh
25ff74206e On sparc64, the memory arbiter may be disabled by OF.
Move the HW config checking stuff to after bge_reset(). bge_reset()
initializes both byte order settings and the memory arbiter.

 The hwcfg stuff will be required in bge_reset() in future, so we should
rethink about hwconfig and bge_reset().
2013-05-24 11:47:47 +00:00
msaitoh
84fe1126c3 Document says 5717 and newer chips have no BGE_PCISTATE_INTR_NOT_ACTIVE bit,
so don't use the bit on those chips. Same as OpenBSD.
2013-05-24 02:35:28 +00:00
msaitoh
562e2ced64 bge_init_tx_ring() uses BGE_RSLOTS (==256) but bge_free_tx_ring() uses
BGE_TX_RING_CNT (== 512). Delete BGE_RSLOTS and use BGE_TX_RING_CNT. Same as
OpenBSD's if_bge.c rev. 1.86.
2013-05-24 02:29:36 +00:00
christos
10fbe6ad98 PR/47846: Frank Kardel: panic/lockups in raidframe during detach at shutdown
XXX: Fix this properly by using the memory allocated from the autoconf
subsystem and use raidput in all the places needed.
2013-05-23 14:15:52 +00:00
tsutsui
c789a2a4ba Fix another typo which causes decrement against a NULL pointer.
Also revert rev 1.9, which shut up gcc's "uninitialized variable"
warning that actually pointed out the typo correctly.  Oh well.
2013-05-21 15:57:21 +00:00
tsutsui
9bc6043a7c Fix fatal (but probably unused) typo in ri->ri_hwbits case in copycols. 2013-05-21 15:50:09 +00:00
martin
a13a1bd40a Stopgap: disable access to BGE_SRAM_DATA_SIG, it is not implemented in all
variants and access may crash the kernel.
msaitoh: please fix properly, I have no idea how.
2013-05-21 06:59:28 +00:00
mbalmer
1c2221476f Make the gpiosim(4) device a 64 bit wide GPIO. 2013-05-20 15:48:25 +00:00
mbalmer
25f2bfbcb3 When returning the old value, use the value read from the device. 2013-05-20 15:46:41 +00:00
mbalmer
d6c1d7f924 gabage -> garbage, fix wording. 2013-05-17 10:48:54 +00:00
rkujawa
441ebfd259 Fix typo: s/300/500/ . 2013-05-16 21:25:27 +00:00
christos
5e3bc20be6 sort by name, add OF_quiesce 2013-05-16 18:43:09 +00:00
kiyohara
8f5c248d32 Add quirk for IODATA2 USB2SC.
This works target 0 only.  However supports 4 targets in spec.
2013-05-14 14:03:53 +00:00
macallan
a1fe73c229 found the missing commit so put this back
am I the only one here with a Gdium?
2013-05-14 09:19:36 +00:00