Commit Graph

118643 Commits

Author SHA1 Message Date
christos 2fa09f799a widen the operation on the RHS as suggested in the PR. 2013-06-03 21:01:18 +00:00
christos 81949309cf fix pasto 2013-06-03 20:26:31 +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
rkujawa bf8e0d4c5e Add support for SDIO on Armada XP. 2013-06-03 14:50:59 +00:00
khorben c31b1e76e3 Using a sysmon taskqueue to report events; fixes crashes when booting
multi-user while calling sysmon_pswitch_event().

Imported from the khorben-n900 branch
2013-06-03 01:47:58 +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
rmind bdfcfdcad8 - NPF connection tracking: rework synchronisation on tracking disable/enable
points and document it.  Split the worker thread into a separate module
  with an interface, so it could be re-used for other tasks.
- Replace ALG list with arrays and thus hit fewer cache lines.
- Misc bug fixes.
2013-06-02 02:20:04 +00:00
pooka b043cb36bc check for EOF from backing sucket 2013-06-01 20:22:27 +00:00
pooka 98a1d881d2 Some minor tweaks to make this compile on Solaris. 2013-06-01 11:46:14 +00:00
pooka 3731822a1d Assert that we get PRU_ATTACH requests only for the families we
have registered.
2013-06-01 11:44:37 +00:00
pooka f0037a8c6d default portalgo to random_start, for less connections from port 65535 2013-06-01 11:02:42 +00:00
pooka 83023c7fae Give portalgo a compile-time override; for cases where the default default
doesn't make enough sense to even consider it (a lot of outgoing connections
from rump kernels with local port 65535).
2013-06-01 11:01:48 +00:00
pooka ff8987496b cosmetic: put portalgo.c in the conceptually right place 2013-06-01 10:54:24 +00:00
stacktic 3df1f0e301 Add IPv6 support 2013-06-01 10:10:57 +00:00
stacktic 79e963ee99 Translate function parameters between the hypervisor and rump kernel 2013-06-01 10:09:05 +00:00
stacktic 6e6b2fc7a4 regen 2013-06-01 09:50:32 +00:00
stacktic 9a5521f4ff Grab more network-related macros 2013-06-01 09:49:37 +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
pooka 5b7912d506 run shutdownhooks 2013-05-31 16:16:40 +00:00
tsutsui 9731120678 The 'vesa' command can take 'list' flag so mention it in an error message. 2013-05-31 15:11:07 +00:00
macallan d9d045776f add SX_SELECT_S instruction 2013-05-30 20:09:23 +00:00
macallan be5435b2d3 install sxreg.h to /usr/include/sparc/ 2013-05-30 20:08:47 +00:00
martin cf7199d040 Make it compile again 2013-05-30 16:01:25 +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
rkujawa c8173e69c6 Add CVS IDs where appropriate. 2013-05-29 23:50:34 +00:00
christos bc15abe61d eliminate sc_size and fix printf formats 2013-05-29 23:37:10 +00:00
rkujawa ce34c2e6e4 Explicitely cast to unsigned. Avoid bugs caused by misintepreting the result as
signed.

riastradh@ suggested to change these macros into static inline functions.
But I'm still not convinced...

Obtained from Marvell, Semihalf.
2013-05-29 23:29:44 +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
christos cfef8e95ca get dir of dk_geom. 2013-05-29 23:11:56 +00:00
rkujawa 5e5986c7b5 Add build configuration for Armada XP.
Obtained from Marvell, Semihalf.
2013-05-29 22:52:19 +00:00
rkujawa 07ee67d028 Add support for Armada XP PIC.
Obtained from Marvell, Semihalf.
2013-05-29 22:35:34 +00:00
macallan b4df4454b7 allow userland to map SX registers and IO space 2013-05-29 22:26:39 +00:00
macallan 43e7cffbe8 fix a typo 2013-05-29 22:25:23 +00:00
rkujawa a9160f6005 Add support for mvsoc-based Armada XP peripherals.
Obtained from Marvell, Semihalf.
2013-05-29 20:47:14 +00:00
rkujawa f04dc15f20 Import cleaned up MD parts of Armada XP port.
Compared to what was posted to port-arm, the main difference is that now it uses
arm32_kvminit, arm32_boot, arm32_reboot as advised by nick@.

Obtained from Marvell, Semihalf.
2013-05-29 19:55:56 +00:00
martin dfaed1d82a While visibility "protected" is nominaly supported by gcc 4.0 and 4.1
it does not actually work - the compiler does not emmit ".protected"
asm statements for used references to protected symbols, which then
causes the linker to fail and/or produce unloadable libraries.
This recently happened to port vax by the locale changes.

Backporting a fix (ASM_OUTPUT_EXTERNAL in gcc target config) is not
feasible.

So: define __dso_protected only starting with gcc 4.2.
2013-05-29 19:02:30 +00:00
martin 5f9738c51e Add disk_set_info() prototype 2013-05-29 15:22:19 +00:00
martin 6c0e3d9ea6 Add dk_geom to struct disk, from Christos. 2013-05-29 15:11:11 +00:00