| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
| |
add only one DELAY(10) after inb(non_busy) now
|
| |
|
|
|
|
| |
extra one caused a warning.
|
|
|
|
| |
drivers.
|
| |
|
|
|
|
| |
by me.
|
| |
|
|
|
|
|
|
|
|
|
|
| |
in your kernel config now).
2) Added ps ddb function from 1.1.5. Cleaned it up a bit and moved into its
own file.
3) Added \r handing in db_printf.
4) Added missing memory usage stats to statclock().
5) Added dummy function to pseudo_set so it will be emitted if there
are no other pseudo declarations.
|
|
|
|
| |
Add MIN_DELAY definition instead of hard-coded 10
|
|
|
|
|
|
| |
2) DELAY(1) does nothing, it affects audio playing f.e:
driver can't play second half of disk, changed to DELAY(10)
3) Debugging messages #ifdef DEBUGed
|
|
|
|
|
|
|
|
|
| |
Several examples of connection initiation follow. Although these
examples do not show connection synchronization using data-carrying
segments, this is perfectly legitimate, so long as the receiving TCP
doesn't deliver the data to the user until it is clear the data is
valid (i.e., the data must be buffered at the receiver until the
connection reaches the ESTABLISHED state).
|
|
|
|
|
| |
someone gets to re-integrating the code. ntp_gettime() should be
turned into a sysctl variable and emulated in the library.
|
|
|
|
| |
Submitted by: jkh
|
|
|
|
|
| |
Reviewed by:
Submitted by:
|
|
|
|
|
| |
Reviewed by:
Submitted by:
|
|
|
|
|
| |
when I'm less sleepy.
Submitted by: jkh
|
|
|
|
|
| |
zero-on-fork section of the struct proc. (At least, my system
won't boot unless it is.)
|
|
|
|
|
|
| |
find something useful to do other than taking credit for other people's
work. Also make the 3C507 bits match the indentation style of the rest of
the code.
|
|
|
|
|
| |
Reviewed by:
Submitted by:
|
|
|
|
| |
Submitted by: Paul Richards
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Merged changes from 2.0 version (revisions 1.46-1.50) by hand.
Finished conversion to clists: removed flush of tty output buffer
in comflush() (most writes were truncated to 256 bytes) and restored
bypass of ttyinput() in siopoll().
Finished conversion to 2.0 types - more void *'s, less caddr_t's,
less casts, no Dev_t's.
Only these things are seriously broken now compared with 1.1.5:
waiting for output complete is impossible so ttywait() can deadlock;
sioclose() isn't called enough so sioopen() sometimes returns EBUSY
unnecessarily; input flow control is not implemented.
|
|
|
|
| |
Privatize functions.
|
|
|
|
|
| |
Submitted by:
Add the elink.c file to the necessary modules for the ie and ep driver.
|
|
|
|
|
|
|
|
|
| |
Submitted by:
Add the 3com 3C507 card to the if_ie.c driver. The files elink.c and
elink.h are helding routines that are shared between the 3C507 and the
3C509/3C579. if_ie507.h are constant declarations unique to the 3C507.
The code is based on the NetBSD driver if_ie.c donated to NetBSD by
Rafal Boni and then modified by Charles Hannum.
|
|
|
|
|
| |
Reviewed by:
Submitted by:
|
|
|
|
|
| |
Reviewed by:
Submitted by:
|
|
|
|
|
| |
Reviewed by:
Submitted by:
|
|
|
|
|
| |
Reviewed by:
Submitted by:
|
|
|
|
|
| |
Reviewed by:
Submitted by:
|
|
|
|
|
| |
that causes a no-panic instant reboot when bogus argv/envvs are fed to
execve().
|
| |
|
| |
|
|
|
|
|
|
|
|
|
|
| |
Changed u_int_inb to just inb and deleted define.
The code generated is identical to that generated with the cast so
the problem was obviously fixed at some point after gcc 1.4
Reviewed by:
Submitted by:
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
hosing syscons. Doesn anyone know anything about this
or can we just delete it now?
/*
* This roundabout method of returning a u_char helps stop gcc-1.40 from
* generating unnecessary movzbl's.
*/
#ifdef disable_for_gcc-2_6_0
#define inb(port) ((u_char) u_int_inb(port))
#endif
static inline u_int
u_int_inb(u_int port)
{
u_char data;
/*
* We use %%dx and not %1 here because i/o is done at %dx and
not at
* %edx, while gcc-2.2.2 generates inferior code (movw instead
of movl)
* if we tell it to load (u_short) port.
*/
__asm __volatile("inb %%dx,%0" : "=a" (data) : "d" (port));
return data;
}
Reviewed by:
Submitted by:
|
|
|
|
| |
Submitted by: jkh
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Added a missing #ifdef INET wrapper in lpt.c
Main change:
Removed the timeout_func_t casts from timeout calls and
correctly defined the timeout routines to conform to
the new format.
lpt.c doesn't have this change.
Reviewed by:
Submitted by:
|
|
|
|
|
|
| |
a slight change in how profiled version is selected - may need to adjust
some .mk macros if PROF is foolishly initialized anywhere to a null value.
Submitted by: jkh
|
|
|
|
|
|
|
|
| |
#ifndef _SYS_TTYCHARS_H_
#define _SYS_TTYCHARS_H_
...
#endif
Submitted by: Geoff
|
|
|
|
|
| |
vfs_unmountall() - this is the most common case. If it was a different
error, then print the error number.
|
|
|
|
|
|
|
|
|
|
|
|
| |
revision. They caused redundant redeclaration warnings because I
forgot to declare them as extern and gcc-2.6.0 treats "extern int x[];"
slightly different from "int x[];" (this is probably a bug). The new
versions will cause RR warnings from gcc-2.4.5 because it does not
understand that the second declaration in "extern int x[]; int x[1];"
is not redundant. The variables don't actually need to be declared
in a header file because they are used in only one C source file and
one assembler source file, but I want all public variables and
comments about them to be findable by grepping *.h.
|
|
|
|
| |
locore globals aren't misaligned.
|
| |
|
|
|
|
| |
- Fix bogus comments caused by misplaced #endif.
|
|
|
|
| |
- Update name of idempotency identifier in comment to match code.
|
|
|
|
|
| |
Reviewed by:
Submitted by:
|
| |
|
|
|
|
|
| |
Reviewed by:
Submitted by:
|
|
|
|
|
| |
Reviewed by:
Submitted by:
|
|
|
|
|
| |
Reviewed by:
Submitted by:
|
|
|
|
|
| |
Reviewed by:
Submitted by:
|