| Commit message (Collapse) | Author | Age | Files | Lines |
| ... | |
| |
|
|
| |
Notes:
svn path=/head/; revision=111748
|
| |
|
|
| |
Notes:
svn path=/head/; revision=111002
|
| |
|
|
| |
Notes:
svn path=/head/; revision=106572
|
| |
|
|
|
|
|
| |
Spotted by: FlexeLint.
Notes:
svn path=/head/; revision=105215
|
| |
|
|
|
|
|
| |
Display reasons why probe/attach fails.
Notes:
svn path=/head/; revision=100744
|
| |
|
|
| |
Notes:
svn path=/head/; revision=100743
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
general cleanup of the API. The entire API now consists of two functions
similar to the pre-KSE API. The suser() function takes a thread pointer
as its only argument. The td_ucred member of this thread must be valid
so the only valid thread pointers are curthread and a few kernel threads
such as thread0. The suser_cred() function takes a pointer to a struct
ucred as its first argument and an integer flag as its second argument.
The flag is currently only used for the PRISON_ROOT flag.
Discussed on: smp@
Notes:
svn path=/head/; revision=93593
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Note ALL MODULES MUST BE RECOMPILED
make the kernel aware that there are smaller units of scheduling than the
process. (but only allow one thread per process at this time).
This is functionally equivalent to teh previousl -current except
that there is a thread associated with each process.
Sorry john! (your next MFC will be a doosie!)
Reviewed by: peter@freebsd.org, dillon@freebsd.org
X-MFC after: ha ha ha ha
Notes:
svn path=/head/; revision=83366
|
| |
|
|
|
|
|
| |
the bit-bucket.
Notes:
svn path=/head/; revision=74810
|
| |
|
|
| |
Notes:
svn path=/head/; revision=72685
|
| |
|
|
|
|
|
| |
Backwards compatible approach suggested by: peter
Notes:
svn path=/head/; revision=72521
|
| |
|
|
|
|
|
|
| |
Submitted by: josh@zipperup.org
Submitted by: Robert Drehmel <robd@gmx.net>
Notes:
svn path=/head/; revision=69781
|
| |
|
|
|
|
|
|
|
|
|
|
| |
<sys/proc.h> to <sys/systm.h>.
Correctly document the #includes needed in the manpage.
Add one now needed #include of <sys/systm.h>.
Remove the consequent 48 unused #includes of <sys/proc.h>.
Notes:
svn path=/head/; revision=67893
|
| |
|
|
| |
Notes:
svn path=/head/; revision=67882
|
| |
|
|
|
|
|
| |
schedule a non-existant handler to run.
Notes:
svn path=/head/; revision=67586
|
| |
|
|
| |
Notes:
svn path=/head/; revision=67164
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
does ignore DCD. Even TIOCMGET cannot read DCD as the firmware doesn't
report it. This has pretty interesting effects for ppp(8) which runs
in clocal mode and polls carrier (!). (Specialix's linux driver does
this too)
Also update the firmware to 3.0.6 for the SX cards, as apparently there
was a problem with floating (disconnected) DCD pins causing stray carrier
transitions, especially at port open time.
It seems to work here, and carrier loss is detected nearly immediately
rather than having to wait for a LQR timeout (a few minutes) before ppp(8)
gives up.
DCD problem noted by: nsayer
Notes:
svn path=/head/; revision=56592
|
| |
|
|
|
|
|
| |
to match everything else *but* a specialix pci card. *blush*.
Notes:
svn path=/head/; revision=56506
|
| |
|
|
|
|
|
|
| |
Split out the bus attachments so the impact of the bus xxxvar.h files
with the inline macros for the ivars are confined to one file each.
Notes:
svn path=/head/; revision=56505
|
| |
|
|
|
|
|
|
|
|
| |
The files were repo copied from their original location and are part
way towards being portable.
This should unbreak the EISA support in the driver.
I have not updated files* yet as I'm not quite finished.
Notes:
svn path=/head/; revision=56498
|
| |
|
|
| |
Notes:
svn path=/head/; revision=53358
|
| |
|
|
|
|
|
| |
the cdevsw[] array.
Notes:
svn path=/head/; revision=52033
|
| |
|
|
|
|
|
|
|
| |
Use them in many tty drivers.
Reviewed by: julian, bde
Notes:
svn path=/head/; revision=51756
|
| |
|
|
|
|
|
|
|
|
|
| |
have been there in the first place. A GENERIC kernel shrinks almost 1k.
Add a slightly different safetybelt under nostop for tty drivers.
Add some missing FreeBSD tags
Notes:
svn path=/head/; revision=51658
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
fields in struct cdevsw:
d_stop moved to struct tty.
d_reset already unused.
d_devtotty linkage now provided by dev_t->si_tty.
These fields will be removed from struct cdevsw together with
d_params and d_maxio Real Soon Now.
The changes in this patch consist of:
initialize dev->si_tty in *_open()
initialize tty->t_stop
remove devtotty functions
rename ttpoll to ttypoll
a few adjustments to these changes in the generic code
a bump of __FreeBSD_version
add a couple of FreeBSD tags
Notes:
svn path=/head/; revision=51654
|
| |
|
|
|
|
|
| |
Avoid name clash with dev_t member si_tty.
Notes:
svn path=/head/; revision=50671
|
| |
|
|
| |
Notes:
svn path=/head/; revision=50669
|
| |
|
|
| |
Notes:
svn path=/head/; revision=50477
|
| |
|
|
|
|
|
| |
the volatile cast warnings.
Notes:
svn path=/head/; revision=50442
|
| |
|
|
|
|
|
| |
Slight tidy up while here.
Notes:
svn path=/head/; revision=50435
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Diskslice/label code not yet handled.
Vinum, i4b, alpha, pc98 not dealt with (left to respective Maintainers)
Add the correct hook for devfs to kern_conf.c
The net result of this excercise is that a lot less files depends on DEVFS,
and devtoname() gets more sensible output in many cases.
A few drivers had minor additional cleanups performed relating to cdevsw
registration.
A few drivers don't register a cdevsw{} anymore, but only use make_dev().
Notes:
svn path=/head/; revision=50254
|
| |
|
|
| |
Notes:
svn path=/head/; revision=50016
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
The cdevsw_add() function now finds the major number(s) in the
struct cdevsw passed to it. cdevsw_add_generic() is no longer
needed, cdevsw_add() does the same thing.
cdevsw_add() will print an message if the d_maj field looks bogus.
Remove nblkdev and nchrdev variables. Most places they were used
bogusly. Instead check a dev_t for validity by seeing if devsw()
or bdevsw() returns NULL.
Move bdevsw() and devsw() functions to kern/kern_conf.c
Bump __FreeBSD_version to 400006
This commit removes:
72 bogus makedev() calls
26 bogus SYSINIT functions
if_xe.c bogusly accessed cdevsw[], author/maintainer please fix.
I4b and vinum not changed. Patches emailed to authors. LINT
probably broken until they catch up.
Notes:
svn path=/head/; revision=47640
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Reformat and initialize correctly all "struct cdevsw".
Initialize the d_maj and d_bmaj fields.
The d_reset field was not removed, although it is never used.
I used a program to do most of this, so all the files now use the
same consistent format. Please keep it that way.
Vinum and i4b not modified, patches emailed to respective authors.
Notes:
svn path=/head/; revision=47625
|
| |
|
|
|
|
|
|
|
|
|
| |
#define COMPAT_PCI_DRIVER(name,data) DATA_SET(pcidevice_set,data)
.. to 2.2.x and 3.x if people think it's worth it. Driver writers can do
this if it's not defined. (The reason for this is that I'm trying to
progressively eliminate use of linker_sets where it hurts modularity and
runtime load capability, and these DATA_SET's keep getting in the way.)
Notes:
svn path=/head/; revision=46813
|
| |
|
|
|
|
|
| |
layout and dev_t structure is being (ab)used.
Notes:
svn path=/head/; revision=46679
|
| |
|
|
| |
Notes:
svn path=/head/; revision=46332
|
| |
|
|
|
|
|
| |
(Edited automatically)
Notes:
svn path=/head/; revision=46153
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
1:
s/suser/suser_xxx/
2:
Add new function: suser(struct proc *), prototyped in <sys/proc.h>.
3:
s/suser_xxx(\([a-zA-Z0-9_]*\)->p_ucred, \&\1->p_acflag)/suser(\1)/
The remaining suser_xxx() calls will be scrutinized and dealt with
later.
There may be some unneeded #include <sys/cred.h>, but they are left
as an exercise for Bruce.
More changes to the suser() API will come along with the "jail" code.
Notes:
svn path=/head/; revision=46112
|
| |
|
|
|
|
|
| |
hurt the driver portability to 3.x too much for where drivers are shared.
Notes:
svn path=/head/; revision=46024
|
| |
|
|
| |
Notes:
svn path=/head/; revision=45577
|
| |
|
|
|
|
|
|
|
|
| |
mode supported by the manufacturer).
PR: 6255
Submitted by: nsayer
Notes:
svn path=/head/; revision=45161
|
| |
|
|
|
|
|
|
|
|
| |
cards from the 3.0-beta to 3.0.4 release.
Submitted-by: Nick Sayer <nsayer@quack.kfu.com>
PR: 10674
Notes:
svn path=/head/; revision=44985
|
| |
|
|
|
|
|
|
|
| |
Use TTYDEF_SPEED rather than 9600 a couple of places.
Reviewed by: bde, with a few grumbles.
Notes:
svn path=/head/; revision=43425
|
| |
|
|
| |
Notes:
svn path=/head/; revision=42546
|
| |
|
|
|
|
|
| |
for the unit number (like most SCSI drivers).
Notes:
svn path=/head/; revision=38487
|
| |
|
|
|
|
|
|
|
|
|
|
| |
for the Lite2 fix for always returning EIO in dead_read().
Cleaned up the cdevswitch initializers for all tty drivers.
Removed explicit calls to ttsetwater() from all (tty) drivers. ttsetwater()
is now called centrally for opens, not just for parameter changes.
Notes:
svn path=/head/; revision=38485
|
| |
|
|
|
|
|
| |
Don't cast a pointer to a long just to print it.
Notes:
svn path=/head/; revision=38353
|
| |
|
|
|
|
|
| |
from int to u_long but not changing here.
Notes:
svn path=/head/; revision=38351
|
| |
|
|
|
|
|
|
| |
PR: 6932
Submitted by: Nick Sayer <nsayer@quack.kfu.com>
Notes:
svn path=/head/; revision=36956
|