| Commit message (Collapse) | Author | Age | Files | Lines |
| ... | |
| |
|
|
|
|
|
|
| |
Fixed everything that depended on getting fcntl.h stuff from the wrong
place. Most things don't depend on file.h stuff at all.
Notes:
svn path=/head/; revision=24131
|
| |
|
|
|
|
|
|
|
|
| |
devtotty(). devtotty() must check its arg carefully since the arg is
supplied as ioctl data. This should fix PR3004.
Renamed devtotty() to snpdevtotty().
Notes:
svn path=/head/; revision=23950
|
| |
|
|
|
|
|
| |
Reviewed by: julian@freebsd.org
Notes:
svn path=/head/; revision=14875
|
| |
|
|
|
|
|
|
|
| |
with later.
A number of unused vars removed.
A number of unused procs removed or #ifdefed.
Notes:
svn path=/head/; revision=12819
|
| |
|
|
|
|
|
|
|
|
|
|
| |
seems to work hre just fine though I can't check every file
that changed due to limmited h/w, however I've checked enught to be petty
happy withe hte code..
WARNING... struct lkm[mumble] has changed
so it might be an idea to recompile any lkm related programs
Notes:
svn path=/head/; revision=12813
|
| |
|
|
| |
Notes:
svn path=/head/; revision=12678
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
most devsw referenced functions are now static, as they are
in the same file as their devsw structure. I've also added DEVFS
support for nearly every device in the system, however
many of the devices have 'incorrect' names under DEVFS
because I couldn't quickly work out the correct naming conventions.
(but devfs won't be coming on line for a month or so anyhow so that doesn't
matter)
If you "OWN" a device which would normally have an entry in /dev
then search for the devfs_add_devsw() entries and munge to make them right..
check out similar devices to see what I might have done in them in you
can't see what's going on..
for a laugh compare conf.c conf.h defore and after... :)
I have not doen DEVFS entries for any DISKSLICE devices yet as that will be
a much more complicated job.. (pass 5 :)
pass 4 will be to make the devsw tables of type (cdevsw * )
rather than (cdevsw)
seems to work here..
complaints to the usual places.. :)
Notes:
svn path=/head/; revision=12675
|
| |
|
|
| |
Notes:
svn path=/head/; revision=12577
|
| |
|
|
|
|
|
| |
it's best to not have a (compiles cleanly) typo in it! (sigh)
Notes:
svn path=/head/; revision=12521
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
That's EVERY SINGLE driver that has an entry in conf.c..
my next trick will be to define cdevsw[] and bdevsw[]
as empty arrays and remove all those DAMNED defines as well..
Each of these drivers has a SYSINIT linker set entry
that comes in very early.. and asks teh driver to add it's own
entry to the two devsw[] tables.
some slight reworking of the commits from yesterday (added the SYSINIT
stuff and some usually wrong but token DEVFS entries to all these
devices.
BTW does anyone know where the 'ata' entries in conf.c actually reside?
seems we don't actually have a 'ataopen() etc...
If you want to add a new device in conf.c
please make sure I know
so I can keep it up to date too..
as before, this is all dependent on #if defined(JREMOD)
(and #ifdef DEVFS in parts)
Notes:
svn path=/head/; revision=12517
|
| |
|
|
|
|
|
|
| |
This time mostly making a lot of things static and some unused
variables here and there.
Notes:
svn path=/head/; revision=11921
|
| |
|
|
|
|
|
| |
functions were wrong.
Notes:
svn path=/head/; revision=10624
|
| |
|
|
| |
Notes:
svn path=/head/; revision=8876
|
| |
|
|
| |
Notes:
svn path=/head/; revision=6774
|
| |
|
|
|
|
|
|
|
|
|
|
| |
(b) add a function callback vector to tty drivers that will return a pointer
to a valid tty structure based upon a dev_t
(c) make syscons structures the same size whether or not APM is enabled so
utilities don't crash if NAPM changes (and make the damn kernel compile!)
(d) rewrite /dev/snp ioctl interface so that it is device driver and i386
independant
Notes:
svn path=/head/; revision=6712
|
| |
|
|
|
|
|
|
| |
It's 22:00 here,utility still to come(hopefully tomorrow
morning..)
Notes:
svn path=/head/; revision=6455
|
| |
|
|
|
|
|
|
|
|
|
|
|
| |
- Overflow now calculated right
- Close works ok,does not looses tty
- Better overflow handling now the snooping stops
on overflow,but programm notified and can reconnect if
it want to..Default maximal buffer set to 664 K and this
is probably too much..:)))
Utility still to come
Notes:
svn path=/head/; revision=6447
|
|
|
Users-beware..
It is tested and working for me but probably have some bugs i
didn't noticed so test it and reply...
It can:
look at what's sent to the user from tty device
snoop on pty's,vty's and serial tty's
It (still) can't:
write to tty
see what user types in local echo mode
It is probably bad styled and
very dependant on tty_pty.c,sio.c and syscons.c
I would be really happy if another ppl would make their
changes because i am not sure this is the best snoop
we can have..but it is good..:)))))
Notes:
svn path=/head/; revision=6390
|