| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
| |
Reviewed by: dfr
|
|
|
|
|
|
| |
behavior of their userland counterparts with respect to return values.
Submitted by: Matthew N. Dodd <winter@jurai.net>
|
|
|
|
|
|
|
|
| |
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 :-(
|
|
|
|
|
|
|
|
| |
(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.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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
|
| |
|
|
|
|
|
|
|
|
| |
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)
|
|
|
|
|
|
|
| |
PR: bin/12768
Submitted By: Stephen J. Roznowski <sjr@home.net>
(2) Follow KNF
|
|
|
|
|
|
|
|
|
|
| |
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...
|
|
|
|
|
|
|
|
|
|
|
| |
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.
|
|
|
|
|
| |
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.
|
|
|
|
|
|
|
|
|
| |
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.
|
|
|
|
|
|
| |
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.)
|
| |
|
|
|
|
|
| |
service. This includes the -o "operating system" argument and the -t
"timeout" argument.
|
|
|
|
| |
;-)
|
|
|
|
| |
Add a warning for bogus -t arguments for the (debug) case.
|
| |
|
| |
|
|
|
|
|
| |
that existed in original PC-card driver for FreeBSD 2.0 (maybe).
This prevents from utilizing flags for drivers.
|
|
|
|
|
| |
PR: 12769
Submitted by: Peter Jeremy <peter.jeremy@alcatel.com.au>
|
|
|
|
|
|
| |
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.
|
|
|
|
| |
them to the Makefile so that modules will be generated for /modules.
|
|
|
|
| |
Sorry, guys.
|
|
|
|
| |
no sense here but list the TGA server, since it does.
|
|
|
|
|
|
| |
files. Change them back to alpha_XXX_dmamap().
Pointed out by: Andrew Gallatin
|
|
|
|
| |
to the latest firmware release from Alteon (12.3.12).
|
|
|
|
| |
of failures in foo_attach(), simplify iospace/memspace things a little.
|
| |
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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
|
| |
|
|
|
|
| |
service. It takes a number (w/ or w/out .usec) as an argument.
|
|
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
| |
The complexity added isn't worth it.
|
|
|
|
|
| |
clone after all. I have the datasheets for this part; hopefully I can
write a proper driver soon.
|
|
|
|
|
|
| |
accidentally replaced PAGE_MASK with PAGE_SIZE.
(PAGE_MASK is PAGE_SIZE - 1)
bug does not manifest itself on our hardware.....
|
|
|
|
|
|
|
|
|
| |
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.)
|
|
|
|
|
| |
PR: 12611
Reviewed by: markm
|
|
|
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
| |
tl_stats_update().
|
| |
|
|
|
|
|
|
|
| |
Also, the previous commit failed to reference:
PR: 12731
Submitted by: dwmalone@maths.tcd.ie (David "Inetd" Malone)
|
| |
|
|
|
|
| |
SYS_RES_MEMOTY in sk_detatch().
|
| |
|
|
|
|
|
| |
PR: 12663
Submitted by: Adam Wight <adamw@holonet.net>
|
|
|
|
| |
Submitted by: bde
|
|
|
|
|
|
|
|
| |
the bell.
- Document it in the man page.
- Fix a couple of typo in the man page.
Submitted by: cpiazza
|
|
|
|
|
|
|
| |
the Green Piece. :-)
In future, new builtin services are less likely to need to touch the
already tangled inetd.c .
|