256951 Commits

Author SHA1 Message Date
pgoyette
d460bf3c90 Our i2c addresses are right-justified 7-bit; we don't shift left
for the "write" bit
2018-02-27 05:45:14 +00:00
pgoyette
0a20d723d3 The controller only supports 1-byte "commands" 2018-02-27 05:43:20 +00:00
msaitoh
589ba8986e Add hw.ixvM.q[01].{interrupt_rate,[tr]xd_head,[tr]xd_tail} sysctls as ixg(4). 2018-02-27 04:58:27 +00:00
pgoyette
1baec80807 Add dependency on iic module to get access to iicbus_print() 2018-02-27 00:18:02 +00:00
pgoyette
389b2dabdf The iic module needs to include 2c_subr so that i2cbus modules can
reference iicbus_print()
2018-02-27 00:15:34 +00:00
sevan
fe5e2a196c macofcons(4) 2018-02-26 23:12:59 +00:00
sevan
d3c020679a Remove support for macofcons(4), it's not actually possible to build a kernel
with it enabled - See PR port-macppc/53004 and it may have further problems even
so.
From <macallan>:
"There is some early console code that uses OF output but it causes problems
when we get close to MMU setup - I think it can go, it hasn't been enabled in
any config in at least a decade as far as I know."
2018-02-26 23:09:32 +00:00
sevan
f72b096520 Note awacs(4) getting enabled. 2018-02-26 22:37:27 +00:00
christos
7767204c93 PR/53058: Nikhil Benesch: use correctly typed variables (wchar_t vs wint_t)
as parameters.
2018-02-26 17:36:14 +00:00
tsutsui
70a638886f Add dumb memory probe routines for Milan to use all available memory.
Tested on Milan with 32Mx1, 32Mx4, 128MBx1, and 128MBx3.
(bootloader ROM fails to load TOS with 128MBx4)

No particular comment on port-atari@:
 http://mail-index.netbsd.org/port-atari/2018/02/09/msg000580.html
2018-02-26 15:11:12 +00:00
kamil
00e03d5b87 Document ragasub(3) & regnsub(3) implementation detail
Added note:
  Only 10 elements of the rm array can be used.

Sponsored by <The NetBSD Foundation>
2018-02-26 14:04:43 +00:00
martin
a253d8fa7f Switch sparc over to openssl 1.1 again - thanks to christos for fixing it! 2018-02-26 12:26:24 +00:00
maxv
0695fe90b1 Dedup: call ipsec_in_reject directly. IPSEC_STAT_IN_POLVIO also gets
increased now.
2018-02-26 10:36:24 +00:00
maxv
768c43840b Reduce the diff between ipsec6_input and ipsec4_input. 2018-02-26 10:19:13 +00:00
maxv
660f4099b0 Remove redundant condition (harmless). PR/53030. 2018-02-26 09:13:00 +00:00
maxv
b39a0dd1f8 Dedup: merge ipsec4_in_reject and ipsec6_in_reject into ipsec_in_reject.
While here fix misleading comment.

ok ozaki-r@
2018-02-26 09:04:29 +00:00
maxv
c3c5f13028 Dedup: merge ipsec4_hdrsiz and ipsec6_hdrsiz into ipsec_hdrsiz.
ok ozaki-r@
2018-02-26 08:50:25 +00:00
maxv
2953bb2565 Dedup: merge ipsec4_checkpolicy and ipsec6_checkpolicy into
ipsec_checkpolicy.

ok ozaki-r@
2018-02-26 08:42:16 +00:00
pgoyette
a9b2760df8 Better device identification during configuration/attach 2018-02-26 08:34:47 +00:00
wiz
0903e7d1fb Fix comment. 2018-02-26 08:23:44 +00:00
knakahara
e6743f33cb Apply ixgbe.c:r1.127 to ixv.c. Pointed out by msaitoh@n.o. 2018-02-26 08:14:01 +00:00
pgoyette
b7994efa6a Update sets lists for new modular ichsmb(4) 2018-02-26 07:30:17 +00:00
pgoyette
eee1cd778b Descend into subdirectory to create the module for ichsmb(4) driver. 2018-02-26 07:29:24 +00:00
pgoyette
611870bdec Modularize the ichsmb(4) driver. No functional changes. 2018-02-26 07:28:02 +00:00
maxv
0f3ae0526d If 'skip' is lower than sizeof(struct ip), we are in trouble. So remove a
nonsensical branch, and add a panic at the beginning of the function.
2018-02-26 06:58:56 +00:00
maxv
1d337420b7 m is never allowed to be NULL, so turn the KASSERT (and the null check)
to a panic.
2018-02-26 06:53:22 +00:00
maxv
8a440faae1 Fix nonsensical checks, neither in6p nor request is allowed to be NULL,
and the former is already dereferenced in a kassert. This code should be
the same as ipsec4_set_policy.
2018-02-26 06:48:01 +00:00
maxv
3e1c4ac085 Add XXX, it seems to me we need to free the mbuf here. 2018-02-26 06:41:27 +00:00
maxv
20ee129912 Reinforce this area, make sure the length field fits the option. Normally
it always does because the options were already sanitized earlier.
2018-02-26 06:40:08 +00:00
maxv
589f503d3d Fix mbuf mistake: we are using ip6 before it is pulled up properly. 2018-02-26 06:34:39 +00:00
maxv
16a6b57077 Merge some minor (mostly stylistic) changes from last week. 2018-02-26 06:17:01 +00:00
maxv
0d64a27b74 Enable SVS by default. 2018-02-26 05:52:50 +00:00
pgoyette
7989469a7e For non-modular driver, don't set return status for the default case. 2018-02-26 05:47:03 +00:00
pgoyette
adb33e0c73 Identify the device that wsa just attached. Avoids getting strange
message sequence similar to

	imcsmb0 at imc0iic at imcsmb0 not configured

Also, while here, revert to the original FreeBSD wait-for-device-to-
settle code by waiting for 4 intervals of 10ms each, rather than 40
intervals of 1ms.
2018-02-26 05:04:51 +00:00
pgoyette
787536243d Change the "Child not added" message from normal to debug 2018-02-26 05:01:21 +00:00
pgoyette
d2f1cbea7a Remove unneeded imc_print() routine 2018-02-26 04:31:32 +00:00
pgoyette
ddf7c0f9d8 Search for child devices using the i2cbus attribute 2018-02-26 04:25:32 +00:00
knakahara
74808152cc Fix poll mode assumption breaking.
ixgbe_{enable,disable}_intr() forcibly enable/disable all interrupts
regardless of current state. That can break poll mode assumption,
that is, queue interrupts must not occur while polling Tx/Rx rings.

E.g. "ifconfig ixg0 delete && ifconfig ixg0 192.168.0.1" on heavy
load traffic can causes this issue.

This fix may have 1% or 2% performance impact at short packets.

XXX
ixgbe_rearm_queues() which is called only via watchdog can also break
this poll mode assumption because writing EICS casues interrupts
immediately when interrupt auto mask enabled.
We will fix it with other issues about watchdog later.

ok by msaitoh@n.o.
2018-02-26 04:19:00 +00:00
christos
8083c34295 make this link again:
- we don't want to define the reference impl flag because there is no
  complete c reference impl for nistz256
- we want to define an empty OPENSSL_cpuid_setup() because we don't want
  to use the v9 one... this function is called from 2 places:
  1. in the sparccpuid.S assembly, which we need for the CRYPTO_mem*
     functions -- but we could get rid of the v9 stuff with
     #ifdef __sparc_v9__ for size and we don't bother
  2. crypto/init.c
2018-02-26 01:33:05 +00:00
pgoyette
c7df3d77e8 Finally, remove extraneous entries for macppc's "iic at cuda". We
don't need three entries that differ only in wildcarding.
2018-02-26 00:17:40 +00:00
pgoyette
231161f28f Ooopppsss! Put the .Sh DESCRIPTION where it belongs, _after_ the
list of config attachments.
2018-02-26 00:14:56 +00:00
pgoyette
c3f1906fc2 Hmmm, for some reason the first entry in the generated list is not
in collating-sequence order.  Move it to the proper place in the
list.
2018-02-26 00:10:44 +00:00
htodd
dab912008b Fix typo in comment. 2018-02-26 00:05:05 +00:00
pgoyette
6cb2d317fe Bump date for previous two changes. 2018-02-25 23:55:55 +00:00
pgoyette
5e98bd308f Fix the commands-to-generate-the-attachment list to use tab's instead
of multiple spaces in the regex bracket expressions, and alert the
reader to this.  Otherwise, a cut-and-paste might simply expand the
tab characters to some number of spaces, and the result won't find
what you're looking for!

XXX Despite the indication that these commands should be run in csh
(or derivative), they seem to run just fine under /bin/sh as well.
2018-02-25 23:55:21 +00:00
christos
b351345a6c new mdns-responder. 2018-02-25 23:53:57 +00:00
pgoyette
15b57152f3 Regen attachment list, since we just added "iic* at imcsmb?"
This regen also caught a few other missing entries.
2018-02-25 23:51:25 +00:00
htodd
0fc0030f2f Fix typo in error message. 2018-02-25 23:48:16 +00:00
pgoyette
2eab6dfed7 As requested by chuq@, add the new imc devices to the i386 and amd64
ALL kernels.
2018-02-25 22:00:22 +00:00
jdolecek
f0e5de0264 fix the DIAGNOSTIC function pmap_tlb_asid_count() to not expect
that TLBINFO_ASID_INUSE_P() returns just 0 or 1; the underlying
__BITMAP_ISSET() actually returns the matching bit nowadays, which
caused miscounting

fixes PR kern/53054 by Sevan Janiyan
2018-02-25 21:43:03 +00:00