Commit Graph

153490 Commits

Author SHA1 Message Date
dsl
da38409c42 Add kadm5_err.h to DPSRSC (as is done in libkadm5srv) otherwise we
fail to create many of the .d files because kadm5_err.h isn't created
early enough.
I dunno why this ever worked, but mu hacked make is clearly building
stuff in a different order.
2006-11-11 14:00:56 +00:00
tsutsui
6e1aa2e387 Minor style tweaks in re_txeof(). 2006-11-11 13:51:44 +00:00
jmmv
ea4fb88d87 Do not mess with B_VFLUSH in the read/write case. Requested by yamt@.
(I did this because the system could panic otherwise.  But this seemed to
be a side-effect of another mistake that was present in the code before it
was commited.  So effectively this simplification should have happened
before.)
2006-11-11 13:42:14 +00:00
tsutsui
216b5d71df - declare struct re_txq separately
- reorder bus_dma_segment_t members since they are used only on attach/detach
2006-11-11 13:41:06 +00:00
tsutsui
15ce034c2c Some minor tweaks in re_intr():
- check status bits at once (I'm not sure how gcc optimized them though)
- no need to check (ifp->if_flags & IFF_UP) twice
  (re_init() must be called at splnet() anyway)
- call re_start() only if the interrupt is actually handled here
- call re_start() directly rather than via (*ifp->if_start)()
2006-11-11 12:41:56 +00:00
tsutsui
82ada0b76e Clear a TX timeout only if all queued packets are handled. 2006-11-11 12:13:55 +00:00
he
a29dad4689 Add libssp_pic.a. 2006-11-11 12:06:54 +00:00
he
45c70b2a95 Use the correct file name for the libssp comp-c-proflib entry. 2006-11-11 12:06:34 +00:00
tsutsui
677bbfc799 Remove a leftover comment.
(note bus_dmamap_sync(9) is still needed even if no changes are made to
 DMA descriptors but once they are fetched into the CPU cache)
2006-11-11 12:04:08 +00:00
tsutsui
319c2aeb6a - set descriptor DMA addresses before enabling TX and RX
- set RTK_EARLY_TX_THRESH before starting TX and RX
2006-11-11 11:31:30 +00:00
he
b3c318d9a6 Make this bootstrap hack actually work:
o Correct typo in library file name.
 o Comment out conditionals around the bootstrap hack.
   At least CLEANFILES+= needs to be set for cleandir.
   The conditional doesn't appear to do the right thing under
   the dependall target either, for some strange unknown reason.
Committing this so that we get back buildability...
2006-11-11 11:23:39 +00:00
apb
a45cd5c0e1 In the description of the -y option, add a pointer to the -L option. 2006-11-11 10:36:56 +00:00
jnemeth
daa80ec43e add another file to the VARSTACK list 2006-11-11 08:40:42 +00:00
christos
e93069b387 PR/35034: Henning Petersen: Forgot to commit shlib_version 2006-11-11 07:40:45 +00:00
christos
743785267a add a hack to build a fake libssp-nonshared.a for bootstrapping. 2006-11-11 06:42:49 +00:00
christos
42b579bab8 disable SSP for standalone code. 2006-11-11 06:28:49 +00:00
christos
d07f8e39ca don't run paxctl if other commands were specified for that target. 2006-11-11 06:15:55 +00:00
nakayama
d3dbf0b0af Fix prop_send_ioctl.3 keyword to `.man'. 2006-11-11 05:30:50 +00:00
christos
a62de02966 Add SSP support.
XXX: This is broken for me right now, because my kernel resets after fxp0
is probed, but it could be some bug in the driver/compiler.
2006-11-11 02:12:53 +00:00
reinoud
dc6975451a Add missing space in comment 2006-11-10 22:31:19 +00:00
tsutsui
df320777c1 Call re_reset() after re_stop() in re_init().
Without this, re(4) on my macppc sometimes falls into mangled state
and generates many errors after ifconfig(8) or tcpdump(8) etc.
2006-11-10 21:49:02 +00:00
christos
f1ee5b182f fix flags assignment. 2006-11-10 21:39:57 +00:00
christos
9413d5ca54 more portability fixes. 2006-11-10 21:35:10 +00:00
christos
8d5697c533 don't include NetBSD specific files. 2006-11-10 20:55:37 +00:00
macallan
f8fc7e5c07 remove some leftover #includes 2006-11-10 20:27:44 +00:00
christos
d74c6175d2 add more ssp library files. 2006-11-10 19:43:02 +00:00
christos
eeedf4b2c2 convert variable allocation to constant. 2006-11-10 18:15:12 +00:00
christos
499f07fbc0 use malloc instead of alloca. 2006-11-10 17:38:33 +00:00
christos
8a264b331e fix lint. 2006-11-10 17:37:39 +00:00
christos
98e199228a Sprinkle -Wno-stack-protector. Gnu programs use too much alloca :-) 2006-11-10 17:36:08 +00:00
christos
e81129f492 add the non tool version of paxctl 2006-11-10 17:22:19 +00:00
christos
352234e55b paxctl changes. 2006-11-10 17:16:30 +00:00
christos
fef715f487 if ${PROG_PAX} is defined, run paxctl on the binary after linking with
the value of the variable. This way, if you set:

    PROG_PAX=+M

in /etc/mk.conf, you get what you deserve.
2006-11-10 17:13:15 +00:00
christos
2354d57484 Add paxctl as a tool. 2006-11-10 16:50:10 +00:00
christos
4dec970d46 turn paxctl into a tool. pass lint. 2006-11-10 16:31:58 +00:00
christos
5a595b5295 PR/35027: Nicolas Joly: getconf argument parsing broken.
While there:
	- don't print numbern, print number\n
	- don't leak memory
	- consistently return EXIT_FAILURE
	- fix error checking
	- pass lint
2006-11-10 15:36:04 +00:00
martin
43ae9165b5 size_t is not always == int 2006-11-10 14:31:14 +00:00
yamt
d4d55c3dc9 tcp_ctloutput: when called for a socket which is not AF_INET or AF_INET6,
panic rather than returning possibly leaking an mbuf.
2006-11-10 13:19:16 +00:00
yamt
22ffb8ee31 udp_ctloutput: plug a memory leak. 2006-11-10 13:02:32 +00:00
yamt
850e08319b remove some __unused in function parameters. 2006-11-10 13:01:55 +00:00
yamt
d547c3b722 udp_ctloutput: remove unnecessary goto and break. 2006-11-10 13:00:23 +00:00
yamt
511f1a8ff8 udp_ctloutput: ansify. 2006-11-10 12:59:59 +00:00
yamt
641f2cc444 xennet_checksum_fill: remove a debug printf. 2006-11-10 11:52:49 +00:00
mrg
338dc05e99 note that GCC 4.1.2-20061021 (prerelease) was imported 2006-11-10 08:02:08 +00:00
christos
f6e9654266 add -Wno-stack-protector because of the CMSG macro lossage. 2006-11-09 21:40:20 +00:00
christos
2d8fd6a6dd Sprinkle -Wno-stack-protector 2006-11-09 21:27:58 +00:00
christos
fc3c3a7a5c include stdlib.h for exit. 2006-11-09 20:59:23 +00:00
christos
1dcd74fde3 eliminate alloca use. 2006-11-09 20:50:53 +00:00
christos
10891a6668 compile alloca using code -Wno-stack-protector 2006-11-09 20:45:01 +00:00
christos
30ae5bcf37 libgcc needs __stack_chk_fail_local(); make it public 2006-11-09 20:44:16 +00:00