#
5f431174 |
| 29-Jun-2001 |
Joerg Wunsch <joerg@FreeBSD.org> |
This change slipped through hidden in a CVS conflict. Logically belongs to the previous commit (fix resource deallocation).
|
#
e219897a |
| 29-Jun-2001 |
Joerg Wunsch <joerg@FreeBSD.org> |
First stab at fixing resource deallocation, and implementing fdc(4) as a KLD. Still doesn't work well except in the PCMCIA case (now if only pccardd(8) could load and unload drivers dynamically...).
First stab at fixing resource deallocation, and implementing fdc(4) as a KLD. Still doesn't work well except in the PCMCIA case (now if only pccardd(8) could load and unload drivers dynamically...). Mainly, it tries to find fdc0 on the PCI bus for whatever obscure reasons, but i need someone who understands driver(9) to fix this. However, it's at least already better than before, and i'm tired of maintaining too many private changes in my tree, given the large patches bde submitted. :)
Idea of a KLD triggered by: Michael Reifenberger <root@nihil.plaut.de>
show more ...
|
#
64860614 |
| 28-Jun-2001 |
Joerg Wunsch <joerg@FreeBSD.org> |
Merge in parts of a larger patchset i received from Bruce. Untested by now (except of a compile test), but i believe this to contain no actual functional changes.
. Fix the copyright of the Regents
Merge in parts of a larger patchset i received from Bruce. Untested by now (except of a compile test), but i believe this to contain no actual functional changes.
. Fix the copyright of the Regents i accidentally broke in rev 1.197 (although only a very small part of the original driver survived at all...).
. Bump MAX_CYLINDER since some obscure formats really use more than 80 cylinders.
. Correctly handle BIO_FORMAT which used to be a bitmask but is now a BIO command of its own.
. Numerous stylistic fixes.
Submitted by: bde
show more ...
|
#
250300eb |
| 27-Jun-2001 |
Joerg Wunsch <joerg@FreeBSD.org> |
Implement a new ioctl command for floppies: FD_READID
Reads one sector ID field from a given track. Useful for analyzing floppies.
|
#
4c34deee |
| 27-Jun-2001 |
Joerg Wunsch <joerg@FreeBSD.org> |
Some more cosmetics: kill another couple of K&R function definitions that survived from old days, fix style of return type in fdcpio(), kill old Emacs hints that are no longer working that way anyway.
|
#
80909a7d |
| 20-Jun-2001 |
Joerg Wunsch <joerg@FreeBSD.org> |
Cosmetics:
. staticize out_fdc(), there's no longer an ft(4) driver sharing its use . remove in_fdc(), has been used by ft(4) last time, long since obsoleted by fd_in() . move the declaration of f
Cosmetics:
. staticize out_fdc(), there's no longer an ft(4) driver sharing its use . remove in_fdc(), has been used by ft(4) last time, long since obsoleted by fd_in() . move the declaration of fd_clone() to where most of the other function declarations are . de-__P()ify fd_clone(), it's been the only _P()ed function in the entire file
show more ...
|
#
2398f0cd |
| 12-Jun-2001 |
Peter Wemm <peter@FreeBSD.org> |
Hints overhaul: - Replace some very poorly thought out API hacks that should have been fixed a long while ago. - Provide some much more flexible search functions (resource_find_*()) - Use strings f
Hints overhaul: - Replace some very poorly thought out API hacks that should have been fixed a long while ago. - Provide some much more flexible search functions (resource_find_*()) - Use strings for storage instead of an outgrowth of the rather inconvenient temporary ioconf table from config(). We already had a fallback to using strings before malloc/vm was running anyway.
show more ...
|
#
f8ce7dd5 |
| 11-Jun-2001 |
Joerg Wunsch <joerg@FreeBSD.org> |
Cosmetics:
. remove stale comments and a stale #define (from the old days of ft(4)) . make MAX_SEC_SIZE (used in isa_dmainit()) a #define
. fix a typo in a string . use 0 as the blocksize in devsta
Cosmetics:
. remove stale comments and a stale #define (from the old days of ft(4)) . make MAX_SEC_SIZE (used in isa_dmainit()) a #define
. fix a typo in a string . use 0 as the blocksize in devstat_add_entry(), since the actual blocksize is unknown (devstat(9) suggests to use 0 in that case)
show more ...
|
#
e774b251 |
| 06-Jun-2001 |
Joerg Wunsch <joerg@FreeBSD.org> |
Nuke the various poorly maintained copies of ioctl_fd.h. The file is not machine-dependant, thus it has been moved out (repo-copied) into <sys/fdcio.h>.
|
#
7998b124 |
| 05-Jun-2001 |
Joerg Wunsch <joerg@FreeBSD.org> |
Make the FDC (state machine) state an enum, as opposed to an int abusing a bunch of #defines, for clarity and better debugging support.
|
#
06740f7b |
| 03-Jun-2001 |
Joerg Wunsch <joerg@FreeBSD.org> |
Fix my email address. I accidentally cut'npasted the wrong (old) hostname laste time.
|
#
48c35f87 |
| 25-May-2001 |
Poul-Henning Kamp <phk@FreeBSD.org> |
Don't lie to diskerr() now that it listens to us.
|
#
2995d110 |
| 14-May-2001 |
Joerg Wunsch <joerg@FreeBSD.org> |
Implement a few more floppy ioctl commands and IO options, namely:
. FD_CLRERR clears the error counter, thus re-enables kernel error printf()s,
. FD_GSTAT obtains the last FDC operation state, i
Implement a few more floppy ioctl commands and IO options, namely:
. FD_CLRERR clears the error counter, thus re-enables kernel error printf()s,
. FD_GSTAT obtains the last FDC operation state, if any,
. FDOPT_NOERRLOG (temporarily) turns off kernel printf() floppy error logging,
. FDOPT_NOERROR makes the kernel ignore an FDC error, thus can enable the transfer of an erroneous sector to the user application
All options are being cleared on (last) close.
Prime consumer of the last features will be fdread(1), to be committed shortly.
(FD_CLRERR should be wired into fdcontrol(8), but then fdcontrol(8) needs a major rewrite anyway.)
show more ...
|
#
a468031c |
| 06-May-2001 |
Poul-Henning Kamp <phk@FreeBSD.org> |
Actually biofinish(struct bio *, struct devstat *, int error) is more general than the bioerror().
Most of this patch is generated by scripts.
|
#
fb919e4d |
| 01-May-2001 |
Mark Murray <markm@FreeBSD.org> |
Undo part of the tangle of having sys/lock.h and sys/mutex.h included in other "system" header files.
Also help the deprecation of lockmgr.h by making it a sub-include of sys/lock.h and removing sys
Undo part of the tangle of having sys/lock.h and sys/mutex.h included in other "system" header files.
Also help the deprecation of lockmgr.h by making it a sub-include of sys/lock.h and removing sys/lockmgr.h form kernel .c files.
Sort sys/*.h includes where possible in affected files.
OK'ed by: bde (with reservations)
show more ...
|
Revision tags: release/4.3.0_cvs, release/4.3.0 |
|
#
f8388051 |
| 26-Mar-2001 |
Poul-Henning Kamp <phk@FreeBSD.org> |
Send the remains (such as I have located) of "block major numbers" to the bit-bucket.
|
#
3c36743e |
| 03-Mar-2001 |
Mark Murray <markm@FreeBSD.org> |
Harvest interrupt entropy off the floppy disk controller.
|
#
7cc0979f |
| 08-Dec-2000 |
David Malone <dwmalone@FreeBSD.org> |
Convert more malloc+bzero to malloc+M_ZERO.
Submitted by: josh@zipperup.org Submitted by: Robert Drehmel <robd@gmx.net>
|
#
cb7e609a |
| 26-Nov-2000 |
Poul-Henning Kamp <phk@FreeBSD.org> |
Make diskerr() always log with printf.
|
Revision tags: release/4.2.0 |
|
#
ada54f9e |
| 15-Oct-2000 |
Peter Wemm <peter@FreeBSD.org> |
Untangle some resource matching loops that were getting on my nerves and seemed to be getting cut/pasted to places they shouldn't be.
|
Revision tags: release/4.1.1_cvs |
|
#
db901281 |
| 02-Sep-2000 |
Poul-Henning Kamp <phk@FreeBSD.org> |
Avoid the modules madness I inadvertently introduced by making the cloning infrastructure standard in kern_conf. Modules are now the same with or without devfs support.
If you need to detect if dev
Avoid the modules madness I inadvertently introduced by making the cloning infrastructure standard in kern_conf. Modules are now the same with or without devfs support.
If you need to detect if devfs is present, in modules or elsewhere, check the integer variable "devfs_present".
This happily removes an ugly hack from kern/vfs_conf.c.
This forces a rename of the eventhandler and the standard clone helper function.
Include <sys/eventhandler.h> in <sys/conf.h>: it's a helper #include like <sys/queue.h>
Remove all #includes of opt_devfs.h they no longer matter.
show more ...
|
#
3f54a085 |
| 20-Aug-2000 |
Poul-Henning Kamp <phk@FreeBSD.org> |
Remove all traces of Julians DEVFS (incl from kern/subr_diskslice.c)
Remove old DEVFS support fields from dev_t.
Make uid, gid & mode members of dev_t and set them in make_dev().
Use correct
Remove all traces of Julians DEVFS (incl from kern/subr_diskslice.c)
Remove old DEVFS support fields from dev_t.
Make uid, gid & mode members of dev_t and set them in make_dev().
Use correct uid, gid & mode in make_dev in disk minilayer.
Add support for registering alias names for a dev_t using the new function make_dev_alias(). These will show up as symlinks in DEVFS.
Use makedev() rather than make_dev() for MFSs magic devices to prevent DEVFS from noticing this abuse.
Add a field for DEVFS inode number in dev_t.
Add new DEVFS in fs/devfs.
Add devfs cloning to: disk minilayer (ie: ad(4), sd(4), cd(4) etc etc) md(4), tun(4), bpf(4), fd(4)
If DEVFS add -d flag to /sbin/inits args to make it mount devfs.
Add commented out DEVFS to GENERIC
show more ...
|
#
02211bae |
| 09-Aug-2000 |
Nick Hibma <n_hibma@FreeBSD.org> |
Avoid a '"fd" is usurping ...' message.
PR: 20348 Submitted by: Andre Albsmeier <andre.albsmeier@mchp.siemens.de>
|
#
58c9d623 |
| 29-Jul-2000 |
Peter Wemm <peter@FreeBSD.org> |
Fix a warning re: a potentially unused pccard helper function
|
Revision tags: release/4.1.0, release/3.5.0_cvs |
|
#
1fdb6e6c |
| 06-May-2000 |
Poul-Henning Kamp <phk@FreeBSD.org> |
Step down a level and issue format requests with a struct bio instead of a struct buf.
|