Commit Graph

153860 Commits

Author SHA1 Message Date
tsutsui
47af0126d5 Change RXFIFO, RXDMA and TXDMA configrations to values taken from
the Reaktek's driver, which are also used in FreeBSD.
Fixes RX FIFO overrun errors on my Duron 1300MHz PC.
(Note the configuration values for rtk(4) are not changed)

Also add some debug printf's in RX error case (disabled by default).
2006-11-24 16:30:45 +00:00
martin
381d97cf19 Snapshot of work in progress gem @ sbus attachement. Don't use at home
yet!
Thanks to Steve Rikli for providing hardware and test equipement,
and to uwe for a lot help understanding the hardware.
2006-11-24 13:23:32 +00:00
martin
3a83155c93 Ooops - make it compile again. 2006-11-24 13:05:29 +00:00
martin
bed31b2f32 In preparation for gem @ sbus: split the GEM registers into two halfs
and provide a bus_space_handle_t for each. While there, fix a typo
in gem_bitwait().
2006-11-24 13:01:07 +00:00
is
9f6b10c456 Check parameters to avoid potential panic root user.
Patch checked by chopps@.
2006-11-24 12:47:43 +00:00
drochner
0c2df71a45 fix previous: need to pull in <bsd.obj.mk> to get the real .OBJDIR 2006-11-24 12:02:55 +00:00
he
67fd061d1e Properly mark the {v,}syslog_ss entries as obsolete. 2006-11-24 10:58:58 +00:00
uwe
964935dc72 Disable sim for mknative unless it's known to work (configure's
default is to enable sim if there's support for the cpu).

The current list of "known to work" contains arches with G_SIM_OBS
already set: powerpc, powerpc64 and mips.

There's arm support in sim, but committed configs for arm do not have
G_SIM_OBS set, so I'm not enabling it here.

There's SH support in sim, but it fails to build out of the box, and
since we didn't build SH sim support for gdb 5.3, we keep it disabled.

Other arches shouldn't be affected, as there's no support for them in sim.
2006-11-24 02:09:01 +00:00
uwe
65e0d788c7 Pass preset configure "cache" vars in the environment not only to the
top-level configure, but to ${MAKE} configure-host as well.

Add more vars (for readline mostly) so that there's no configure
warnings about tests skipped b/c of cross-compilation.
2006-11-24 01:48:57 +00:00
elad
7651cb0554 Put back break mistakenly removed in previous commit. 2006-11-24 01:13:11 +00:00
rpaulo
bc3d08297a The change I committed to etherip was wrong. ether_snprintf doesn't make
sense when chaning the MAC address of the virtual interface as pointed
out by Hans himself.
So, introduce ether_nonstatic_aton() and make etherip(4) and tap(4) use it.
2006-11-24 01:04:30 +00:00
hubertf
8c32fb4371 Properly mark the sets to install when selecting a full install.
Bug reported and patch reviewed by mhitch@, tested by myself
2006-11-24 00:53:47 +00:00
christos
3bf701820f bump minor. 2006-11-24 00:03:06 +00:00
christos
8db3f5dd85 bump libedit 2006-11-24 00:02:27 +00:00
christos
6b8a793080 - Add more readline functions, enough for gdb-6.5
- Make el_get varyadic, and implement EL_GETTC.
- XXX: the EL_SETTC api will change in the future.
2006-11-24 00:01:17 +00:00
uwe
4e48d71604 Note that nbmake-MACHINE native-gdb writes files under src, so this
step needs to be done in a writable src tree.
2006-11-23 23:33:56 +00:00
uwe
f8e9ad465b Wrap overlong line to fit. 2006-11-23 23:31:00 +00:00
martin
54b769f306 Make it compile on IPv4-only kernels 2006-11-23 23:12:59 +00:00
uwe
2770a4453e Use -isystem to add ${DESTDIR}/usr/include to the search path.
gdb comes with its own copy of GNU readline 5.x, but
-I${DESTDIR}/usr/include stuffed at the beginning of the command line
makes it find our compat readline/readline.h (emulating readline 2.x)
that conflicts with the readline 5.x includes.

Makes README.mknative instructions actually work instead of failing
midway b/c of conflicting tilde_expand() prototypes.
2006-11-23 22:41:10 +00:00
yamt
a6f37bf1a0 wm(4): Add IPv6 Rx tcp/udp checksum offloading. [yamt 20061116]
tcp(4), ifconfig(8), wm(4): Add TCPv6 hardware transmit segment
		offload support. [yamt 20061124]
2006-11-23 20:15:29 +00:00
elad
8f6d3d35da Always #undef CG14_MAP_REGS, since it opens a security hole (as the comment
says) and should be used only for debugging.

Okay mouse@, christos@.
2006-11-23 19:49:41 +00:00
yamt
809ec70bcf implement ipv6 TSO.
partly from Matthias Scheler.  tested by him.
2006-11-23 19:41:58 +00:00
martin
22b629efe2 Fix an obvious copy&pasto and make it compile with GEM_DEBUG. 2006-11-23 18:41:25 +00:00
rpaulo
785b8e0981 WARNING: input date is in the past! 2006-11-23 18:02:15 +00:00
pooka
c9aa28f463 * document open, close and access
* nomenclature improvements
2006-11-23 17:45:11 +00:00
elad
3dc874e6b2 Add note about Segvguard interface/implementation being experimental and
with the potential to change in future releases.
2006-11-23 17:24:36 +00:00
pooka
4b5bf45935 const coherence 2006-11-23 16:44:28 +00:00
tnozaki
068d17c461 c99 istyle initializer, pointed by uebayasi-san. thanks a lot! 2006-11-23 13:59:03 +00:00
martin
fba603e221 Note crunched dhclient change with -fno-strict-aliasing hack. 2006-11-23 13:24:28 +00:00
elad
6d74a5fdc7 Document Veriexec strict levels (hm, maybe we should have veriexec(8)?)
as requested by Adam Hamsik.
2006-11-23 13:23:22 +00:00
martin
ca4e1f8a92 If we need -fno-strict-aliasing (see hack "gcc4 pointer sign and strict
aliasing problems", usr.sbin/dhcp/Makefile.inc rev 1.20), we need it
on the crunched binaries too.
2006-11-23 13:22:18 +00:00
elad
f1e710a4d8 Document flaw in veriexec_rawchk(). This is what I added to the comment:
* XXX: This is bogus. There's an obvious race condition between the time
 * XXX: the disk is open for writing, in which an attacker can access a
 * XXX: monitored file to get its signature cached again, and when the raw
 * XXX: file is overwritten on disk.
 * XXX:
 * XXX: To solve this, we need something like the following:
 * XXX:         open raw disk:
 * XXX:           - raise refcount,
 * XXX:           - invalidate fingerprints,
 * XXX:           - mark all entries with "no cache" flag
 * XXX:
 * XXX:         veriexec_verify:
 * XXX:           - if "no cache", don't cache evaluation result
 * XXX:
 * XXX:         close raw disk:
 * XXX:           - lower refcount,
 * XXX:           - if refcount == 0, remove "no cache" flag from all entries
2006-11-23 13:11:29 +00:00
martin
be008341cd Hopping through a void* is not enough to get rid of alignment requirements.
Do a memcpy to a properly aligned local variable instead.
2006-11-23 13:07:17 +00:00
martin
6a3c1d7aeb When checking wether we are debugging, look for -g in ${CFLAGS} instead
of ${COPTS}. The latter explicitly includes the former and ${DBG}, where
the -g most likely is hidden.
2006-11-23 12:05:26 +00:00
tron
9506122aab Backout accidental commit which broke kernel builds. 2006-11-23 09:43:56 +00:00
he
e004bf7e3b This file needs to know the size of "struct device", so include
<sys/device.h> here.  This should allow the sparc GENERIC_SUN4U and
sparc64 kernels to build sata_subr.c again.
2006-11-23 08:44:42 +00:00
mrg
d010dedb55 bump version to NetBSD nb2 20061121 2006-11-23 05:43:40 +00:00
tnozaki
51d316fde4 add GB12345 csmapper files. 2006-11-23 05:20:04 +00:00
rpaulo
74c9505238 Add pseudo-device etherip. 2006-11-23 04:22:02 +00:00
rpaulo
74b7608af9 Remove extra prototype. 2006-11-23 04:20:54 +00:00
rpaulo
370be902f0 WARNING: date is in the future! 2006-11-23 04:12:51 +00:00
rpaulo
5423539f94 New EtherIP driver based on tap(4) and gif(4) by Hans Rosenfeld.
Notable changes:
	* Fixes PR 34268.
	* Separates the code from gif(4) (which is more cleaner).
	* Allows the usage of STP (Spanning Tree Protocol).
	* Removed EtherIP implementation from gif(4)/tap(4).

Some input from Christos.
2006-11-23 04:07:07 +00:00
tnozaki
dec2eb4c9d 1. move GB*.esdb from i18n/esdb/MISC to i18n/esdb/GB directory.
2. add iconv support for Chinese Tradisional GB12345.
2006-11-23 03:25:24 +00:00
hubertf
1ee989e6be Don't try to handle symlinks on versions of the SSH File Transfer Protocol
that don't support it, e.g. the Solaris 9/x86 sshd (SSH-2.0-Sun_SSH_1.0;
..._1.1 from Solaris 10/x86 is fine)

OK'd by pooka@
2006-11-23 01:51:15 +00:00
tnozaki
c8ab6b2b31 add missing rcsid. 2006-11-22 23:47:21 +00:00
tnozaki
45e156694b oops, forgot to remove unused enum. 2006-11-22 23:44:17 +00:00
tnozaki
8033a5b008 1. add iconv support for following encodings:
Chinese Simplefied
        HZ, HZ8 - 7/8bit stateful encoding, see RFC1842,1843. (libHZ)
        zW      - 7bit stateful encoding, see RFC1842. (libZW)
2. add citrus_prop.[ch] - parser for encoding module's init parameter strings.
2006-11-22 23:38:25 +00:00
dogcow
ec21dc99eb #include <sys/device.h> to fix build failure on sparc64.
(why only sparc64? no idea.)
2006-11-22 22:14:23 +00:00
dsl
503ea65cd7 If we only want .OBJDIR printed, there is no point parsing the default
make rules, nor reading Makefile.
It is rather a shame we can't stop .depend being parsed as well.
Quite possibly one could argue that nothing in .depend should affect the
output of 'make -V xxxx'.
2006-11-22 22:04:57 +00:00
christos
aac134252a From defend dot the dot world at gmail dot com: Sanitize environment variables
for set{u,g}id binaries, so that in case they are playing with set{u,g}id
and exec'ing other binaries they don't get affected by the
LD_{PRELOAD,DEBUG,LIBRARY_PATH} environment setup. We leave LD_BIND_NOW alone.
There are no binaries affected in the base system.
2006-11-22 21:46:36 +00:00