summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* Do not print resource values which are not set.yokota1999-07-241-7/+7
| | | | Reviewed by: dfr
* This makes the in kernel printf routines conform to the documenteddfr1999-07-245-29/+42
| | | | | | behavior of their userland counterparts with respect to return values. Submitted by: Matthew N. Dodd <winter@jurai.net>
* When we fetch previously retrieved IP fragments from the aliasbrian1999-07-242-8/+10
| | | | | | | | tables, copy them correctly back into our mbuf rather giving a bzero'd count to memcpy() and ending up with a 0 byte fragment. The old code resulted in a 0 byte write to the tun device which tickled a bug that resulted in a panic :-(
* Backed out previous commit. devname.3 and devname.c were broken in Lite1bde1999-07-241-4/+6
| | | | | | | | (devname() returned "??" when the lookup failed, but callers expected it to return NULL). This was fixed in Lite2, but until recently the changes were only merged into devname.3. A day or two after devname.c was fixed, devname.3 was made inconsistent again by backing out most of the Lite2 changes.
* atomic.h:alc1999-07-236-35/+14
| | | | | | | | | | | | | | | | | Change "void *" to "volatile TYPE *", improving type safety and eliminating some warnings (e.g., mp_machdep.c rev 1.106). cpufunc.h: Eliminate setbits. As defined, it's not precisely correct; and it's redundant. (Use atomic_set_int instead.) ipl_funcs.c: Use atomic_set_int instead of setbits. systm.h: Include atomic.h. Reviewed by: bde
* Regenerate to match changes made in the embedded yacc parser.hoek1999-07-231-28/+70
|
* Regenerate this file. This fixes a y2k bogon. As an unintentional side-effect,hoek1999-07-231-33/+75
| | | | | | | | it also fixes that fact that this file badly needed to be regenerated due to changes in yacc. Not done by: pst (in misc/1380) Almost done by: danny (in ftp.y)
* (1) Avoid ambigous if/elsebillf1999-07-231-3/+4
| | | | | | | PR: bin/12768 Submitted By: Stephen J. Roznowski <sjr@home.net> (2) Follow KNF
* fix a problem w/ zero byte writes to the tunnel device. It would bypassjmg1999-07-231-1/+1
| | | | | | | | | | the loop and not set an error, so we would then try to access an invalid mbuf... PR: 12780 Submitted by: bright@rush.net aka zb^3 a new record in length a pr was open... only about a half hour...
* Clean up the buffer allocation code a bit. Make sure to initialize certainwpaul1999-07-234-58/+64
| | | | | | | | | | | critical mbuf fields to sane values. Simplify the use of ETHER_ALIGN to enforce payload alignment, and turn it on on the x86 as well as alpha since it helps with NFS which wants the payload to be longword aligned even though the hardware doesn't require it. This fixes a problem with the ti driver causing an unaligned access trap on the Alpha due to m_adj() sometimes not setting the alignment correctly because of incomplete mbuf initialization.
* Grrr. Return the rman_get_bustag()/rman_get_bushandle() lines to theirwpaul1999-07-232-4/+10
| | | | | proper place in ti_attach(). I'm positive I typed them in there, but they must have fallen victim to a drive-by cut & pasting.
* Document the -o and -t options to the internal auth service and give ansheldonh1999-07-232-14/+13
| | | | | | | | | example of their usage in the sample config. Merge the two examples for the green internal auth service. This commit failed the first time around because Brian beat me to the punch on inetd.8 . I like my descriptions better and I'm pretty sure Brian won't mind.
* Ahem. Put things back a bit. I declare variables in the scope they'regreen1999-07-231-9/+13
| | | | | | used! I don't declare every variable at the top of a function because that wastes stack space. I've clarified the error a bit (for if asprintf() filas.)
* Disable more PC98isms on the Alphajkh1999-07-233-3/+27
|
* As per DES's prodding, document _all_ the arguments to inetd's authgreen1999-07-231-2/+8
| | | | | service. This includes the -o "operating system" argument and the -t "timeout" argument.
* Style cleanups for iderror() and ident_stream(). Looks like c++ hang-over.sheldonh1999-07-231-25/+24
| | | | ;-)
* Fix auth -t argument handling. It was broken for the "sec.usec" case.sheldonh1999-07-231-4/+5
| | | | Add a warning for bogus -t arguments for the (debug) case.
* Set correct "flags" value when pccardd allocates/initializes driver.hosokawa1999-07-231-1/+2
|
* Don't match up TCP services with UDP sockets.des1999-07-231-3/+4
|
* Removed a very very old hack (I disabled it in PAO long time ago)hosokawa1999-07-231-2/+1
| | | | | that existed in original PC-card driver for FreeBSD 2.0 (maybe). This prevents from utilizing flags for drivers.
* Fix a non-critical memory leak.ru1999-07-231-4/+6
| | | | | PR: 12769 Submitted by: Peter Jeremy <peter.jeremy@alcatel.com.au>
* One last tweak before I turn in for the evening: the driver name inwpaul1999-07-232-6/+6
| | | | | | the driver_t declaration should be "skc" not "sk". Technically, "skc" is the parent PCI device (the SysKonnect GEnesis controller) and "sk0" and "sk1" are the network interfaces that get attached to it.
* Create module directories for the xl, ti, tl and sk drivers and addwpaul1999-07-235-2/+117
| | | | them to the Makefile so that modules will be generated for /modules.
* Fixed a braino: lack of spaces in sscanf caused ident parsing to fail.green1999-07-231-2/+2
| | | | Sorry, guys.
* More changes for the Alpha X support - don't list PC98 servers since they makejkh1999-07-2310-10/+49
| | | | no sense here but list the TGA server, since it does.
* Dangit. Somehow the pmap_kextract hack for alpha snuck back into thesewpaul1999-07-236-20/+14
| | | | | | files. Change them back to alpha_XXX_dmamap(). Pointed out by: Andrew Gallatin
* Convert the Alteon Tigon gigabit ethernet driver to newbus. Also upgradewpaul1999-07-238-6584/+6680
| | | | to the latest firmware release from Alteon (12.3.12).
* Some more small newbus cleanups. Remember to free all resources in casewpaul1999-07-234-72/+92
| | | | of failures in foo_attach(), simplify iospace/memspace things a little.
* Sorry, I forgot to test "iosize auto" before merging "iosize" patch.hosokawa1999-07-231-0/+9
|
* Inappropriate commment for -i option.hosokawa1999-07-231-2/+2
|
* Added "iosize" directive in /etc/pccard.confhosokawa1999-07-233-14/+76
| | | | | | | | | | | | | | | | | | Allocate free I/O window with given size to card. (example) # IBM PCMCIA Ethernet I/II card "IBM Corp." "Ethernet" config 0x1 "ed0" ? iosize 32 ether 0xff0 (it's currently only useful for externalizing hacks for broken CIS cards, but it will play an important role with "function" directive I'm planninng to merge) Reviewed by: freebsd-mobile list Obtained from: PAO3's "cardio" directive
* Release IRQ allocated dynamically.hosokawa1999-07-231-1/+4
|
* "knobs are cheap". Here's a -t timeout option for the internal identgreen1999-07-221-2/+18
| | | | service. It takes a number (w/ or w/out .usec) as an argument.
* This commit encompasses the following changes to inetd:green1999-07-222-32/+85
| | | | | | | | | | 1. Cleanups of ident_stream. "Evil" stdio is less used. 2. The BSD Copyright was added to the top of builtins.c. 3. As suggested, a timeout is now implemented in the ident service. It defaults to 10 seconds. If enough people want it, I'll make it configurable. Suggested by: msmith
* Revert out part of the last patch that can be done better elsewhere.julian1999-07-221-8/+4
| | | | The complexity added isn't worth it.
* Remove the definitions for the SiS 900 chip. This is not a RealTekwpaul1999-07-222-17/+4
| | | | | clone after all. I have the datasheets for this part; hopefully I can write a proper driver soon.
* fix braino..julian1999-07-221-2/+2
| | | | | | accidentally replaced PAGE_MASK with PAGE_SIZE. (PAGE_MASK is PAGE_SIZE - 1) bug does not manifest itself on our hardware.....
* Well, it seems that loading a PCI driver module after the system haswpaul1999-07-222-3/+12
| | | | | | | | | been booted works too -- very neat. However I don't want the system to stop for 5 seconds when the MII autoprobe is triggered in the xl and tl drivers since that's lame. Instead, only use the hard delay when we've been cold booted. If not, use the timeout mechanism instead. (The SysKonnect driver doesn't use the same autonegotiation scheme, so no change is required there.)
* Don't dump core for a known, documented bug.sheldonh1999-07-221-1/+21
| | | | | PR: 12611 Reviewed by: markm
* Improve printf(3) conversion specifier parsing so that silly formatssheldonh1999-07-222-19/+97
| | | | | | | | | | | aren't allowed and the right casts can be used for printf() statements. Document the conversion specifier limitations and the fact that arithmetic overflow causes a fatal error. PR: 12611 Reported by: Frode Vatvedt Fjeld <frodef@acm.org> Reviewed by: bde
* Convert the ThunderLAN driver to newbus. Also add splimp() protection towpaul1999-07-222-82/+166
| | | | tl_stats_update().
* Relegate the diagnostic descriptor counter to the -DSANITY_CHECK case.sheldonh1999-07-221-4/+10
|
* Remove unnecessary macro introduced in previous commit.sheldonh1999-07-221-4/+5
| | | | | | | Also, the previous commit failed to reference: PR: 12731 Submitted by: dwmalone@maths.tcd.ie (David "Inetd" Malone)
* Don't leak pipe descriptor to daemons on execv().sheldonh1999-07-221-4/+6
|
* Fix a small mind-o: one instance of SYS_RES_IOPORT should have beenwpaul1999-07-222-6/+6
| | | | SYS_RES_MEMOTY in sk_detatch().
* Signal handlers should use _exit(2) and not exit(3).sheldonh1999-07-221-2/+2
|
* Add braces to make if-else statement clearer.iwasaki1999-07-222-8/+12
| | | | | PR: 12663 Submitted by: Adam Wight <adamw@holonet.net>
* Correct some style issues in my previous commit.kris1999-07-222-4/+4
| | | | Submitted by: bde
* - Add new argument `off' to the `-b' option. This will turn offyokota1999-07-222-4/+8
| | | | | | | | the bell. - Document it in the man page. - Fix a couple of typo in the man page. Submitted by: cpiazza
* Move code for all builtin services from inetd.c to builtins.c, includingsheldonh1999-07-224-583/+648
| | | | | | | the Green Piece. :-) In future, new builtin services are less likely to need to touch the already tangled inetd.c .
OpenPOWER on IntegriCloud