| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Removed ifnet.if_init and ifnet.if_reset as they are generally unused.
Change the parameter passed to if_watchdog to be a ifnet * rather than
a unit number. All of this is an attempt to move toward not needing an
array of softc pointers (which is usually static in size) to point to
the driver softc.
if_ed.c:
Changed some of the argument passing to some functions to make a little
more sense.
if_ep.c, if_vx.c:
Killed completely bogus use of if_timer. It was being set in such a way
that the interface was being reset once per second (blech!).
|
|
|
|
| |
it for si.c was accidently inside some #ifdef DEBUG code....
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Move a lot of variables home to their own code (In good time before xmas :-)
Introduce the string descrition of format.
Add a couple more functions to poke into these marvels, while I try to
decide what the correct interface should look like.
Next is adding vars on the fly, and sysctl looking at them too.
Removed a tine bit of defunct and #ifdefed notused code in swapgeneric.
|
|
|
|
| |
Submitted by: Juergen Lock <nox@jelal.hb.north.de>
|
|
|
|
|
|
| |
Declared dsioctl() as static consistently. Note that both if_disc.c
and subr_diskslice.c use the same prefix `ds' and there is a name
conflict for dsioctl().
|
|
|
|
|
| |
The test should never succeed and should go away. Temporarily print
a warning if it does succeed.
|
|
|
|
|
|
| |
Staticized.
Moved a NULL-initialized variable to the bss.
|
| |
|
| |
|
| |
|
|
|
|
|
|
|
|
|
|
| |
Completed function declarations and added prototypes.
Cleaned up prototypes.
Cleaned up #includes.
Removed unused variable `dkn'.
|
|
|
|
|
|
|
|
|
| |
cd9660_rrip.c:
Added lots of bogus casts to hide type errors exposed by the prototypes.
(Different structs are assumed to have a common prefix.)
cd9660_vnops.c:
Finished staticizing.
|
| |
|
|
|
|
| |
Removed some unnecessary #includes.
|
|
|
|
| |
`struct mount *' arg. I don't know what the effects of this were.
|
|
|
|
|
|
|
| |
Protected them with `#ifdef KERNEL' so that <sys/queue.h> is valid C++.
Added the necessary #includes of <sys/queue.h>.
These functions are bogus and should be replaced by the queue macros.
|
|
|
|
|
|
|
|
|
| |
Staticized some functions.
__purified some functions. Some functions were bogusly declared as
returning `const'. This hasn't done anything since gcc-2.5. For
later versions of gcc, the equivalent is __attribute__((const)) at
the end of function declarations.
|
|
|
|
| |
to get the prototypes.
|
|
|
|
|
|
| |
function declarations).
Removed unused #includes (lots of vm ones).
|
|
|
|
| |
prototypes to the right place.
|
|
|
|
|
|
| |
sysctl.h add "AUTO" OID.
both of which will be need RSN.
|
|
|
|
| |
Here it is then, I hope.
|
| |
|
|
|
|
| |
number of args when MROUTING is defined.
|
| |
|
| |
|
| |
|
|
|
|
| |
Added prototypes.
|
|
|
|
| |
(window confusion)
|
|
|
|
| |
Made the pty devices creates in devfs match the present MAKEDEV naming
|
| |
|
|
|
|
|
| |
working under extremely rare circumstances. Also added some additional
comments..
|
| |
|
|
|
|
| |
Reviewed by: julian
|
|
|
|
|
|
|
| |
Obtained from: NetBSD as well (He submitted it there too)
make sure that teh shm region is beyond the sum of the text and data segs
as it was big progs could collide with the shm region.
|
| |
|
|
|
|
|
|
|
|
|
| |
but also IT ACTUALLY WORKS!
FreeBSD with options JREMOD now runs with no entries in the devsw tables
prior to the devices puting their own entries there..
Thanks to bde and terry for thoughts and comments.
next stop 'Real' devfs support in devices.
|
|
|
|
| |
Swap foreground/background logic to allow DIM REVERSE
|
| |
|
|
|
|
|
|
|
| |
keyboards
LINT - Add SCANSET=2 support to the LINT kernel and comments reflecting it's
purpose.
|
|
|
|
| |
that it is a mandatory device.
|
|
|
|
|
|
|
|
|
|
|
|
| |
- Don't print out meaningless iCOMP numbers, those are for droids.
- Use a shorter wait to determine clock rate to avoid deficiencies
in DELAY().
- Use a fixed-point representation with 8 bits of fraction to store
the rate and rationalize the variable name. It would be
possible to use even more fraction if it turns out to be
worthwhile (I rather doubt it).
The question of source code arrangement remains unaddressed.
|
|
|
|
| |
Noticed by: bde
|
|
|
|
| |
Cleaned up includes.
|
|
|
|
|
|
| |
thanks jim..
(actually I was already aware I'd missed it, but hadn't started
searching for it :)
|
|
|
|
|
| |
Added prototypes. The previous version wouldn't have compiled if
prototypes were in scope.
|
|
|
|
|
|
|
|
|
|
| |
conflicted with S3 graphics cards. Now users should put sio[2-3]
in the config file if the hardware exisst, even if the probe is
certain to fail due to an interrupt conflict. Otherwise, ports
sharing the interrupt may fail the probe if the system is warm
booted while sio[2-3] are active (perhaps under another OS). The
same problem for nonstandard ports is now handled better than
before.
|
|
|
|
| |
it's best to not have a (compiles cleanly) typo in it! (sigh)
|
|
|
|
|
|
|
|
|
|
| |
add a few safety checks in specfs because
now it's possible to get entries in [cd]devsw[] which are ALL NULL
so it's better to discover this BEFORE jumping into the d_open() entry..
more check to come later.. this getsthe code to the stage where I
can start testing it, even if I haven't caught every little error case...
I guess I'll find them quick enough..
|
|
|
|
| |
Noticed by: Cheng, Hsiao-Yang <sycheng@cis.ufl.edu>
|