thorpej
fe551f0e64
Fix a bug in disksort_*() which caused non-optimal ordering when multiple
...
active partitions were on a single spindle. Add a b_rawblkno member to
struct buf which contains the non-partition-relative block number to sort
by.
2000-02-07 20:16:47 +00:00
thorpej
52242fdf9f
Update for sys/buf.h/disksort_*() changes.
2000-01-21 23:28:59 +00:00
ragge
0513268399
CL* discarding.
1999-12-04 21:13:19 +00:00
thorpej
0b6e56ec02
Adjust for changes to config.
1998-01-12 10:39:01 +00:00
mhitch
7c5af2d5da
Fix typo from DIOCGDEFLABEL implementation.
1997-10-11 16:13:19 +00:00
thorpej
e3834cc351
Implement DIOCGDEFLABEL.
1997-10-08 23:37:50 +00:00
jtk
594536a71f
use locator defines in "locators.h" to index cf_loc[]
1997-07-17 01:28:54 +00:00
veego
94b6312429
Get rid of __BROKEN_INDIRECT_CONFIG.
1996-12-23 09:09:49 +00:00
christos
ca36ac9ef4
backout previous kprintf change
1996-10-13 03:05:43 +00:00
christos
946833855f
printf -> kprintf, sprintf -> ksprintf
1996-10-10 23:51:21 +00:00
cgd
2a73ef60b7
change cfprint_t type definition to take a const char *, rather than
...
a char *, because that's what was really intended, and because
if the print function modifies the string, various things could become
unhappy (so the string should _not_ be modified).
1996-08-27 21:53:46 +00:00
mhitch
c871eb1ec2
Floppy driver now supports MSDOS track format. Minor device 1 (/dev/fd?b)
...
uses MSDOS MFM track encoding. From Ezra Story (ezy@panix.com ) with
a couple of changes by me.
1996-05-04 04:54:00 +00:00
mhitch
bcd490a50d
Remove include of sys/cpu.h.
1996-04-30 06:09:51 +00:00
mhitch
74de027054
Add floppy index interrupt routine for future MSDOS floppy support.
...
Don't seek to track 0 before checking for diskchange: if drive steps,
the diskchange flag is cleared. Just select the drive, then test for
a diskchange.
Clean up for -Wall with FDDEBUG defined, and fix a message typo.
1996-04-29 06:23:47 +00:00
veego
974e9f6e22
- Cleanup for -Wall and -Wstrict-prototypes
...
- Added support for multiple floppy drives
- CyberVision64:
- has now a real console mode
- another bugfix for boards with the new S3 chip
- Ariadne:
- fixed crashes with aeput (mbuf failure)
1996-04-21 21:10:48 +00:00
mhitch
3ce4de5491
Pass reserved blocks in label so adosfs computes root block
...
correctly (close PR 2232).
1996-04-05 05:08:07 +00:00
mhitch
b00a2c1e30
Clean up typos and other errors from new device attachment changes.
1996-03-17 05:53:57 +00:00
thorpej
5c67e5fad9
New device attachment scheme:
...
- split softc size and match/attach out from cfdriver into
a new struct cfattach.
- new "attach" directive for files.*. May specify the name of
the cfattach structure, so that devices may be easily attached
to parents with different autoconfiguration semantics.
1996-03-17 01:16:48 +00:00
chopps
9819a7c27e
make sure master enable is set #1920
1996-01-28 19:48:39 +00:00
thorpej
18960b616f
Call disk_busy() a bit earlier in case an exceptional condition causes
...
fddone() (and thus disk_unbusy()) to be called directly from fdstart().
Pointed out by Ezra Story <ezy@panix.com>.
1996-01-15 21:53:50 +00:00
thorpej
cca25e85ec
Fixed typo (that I probably introduced with the disk changes). From
...
Thorsten Frueauf <frueauf@ira.uka.de>, PR #1924 .
1996-01-14 00:23:56 +00:00
thorpej
5b39541e48
New generic disk framework. Highlights:
...
- New metrics handling. Metrics are now kept in the new
`struct disk'. Busy time is now stored as a timeval, and
transfer count in bytes.
- Storage for disklabels is now dynamically allocated, so that
the size of the disk structure is not machine-dependent.
- Several new functions for attaching and detaching disks, and
handling metrics calculation.
Old-style instrumentation is still supported in drivers that did it before.
However, old-style instrumentation is being deprecated, and will go away
once the userland utilities are updated for the new framework.
For usage and architectural details, see the forthcoming disk(9) manual
page.
1996-01-07 22:01:38 +00:00
mycroft
80d7b0695a
minphys() functions really should return void.
1995-08-12 20:30:45 +00:00
chopps
3878753b32
fix typo
1995-07-26 14:22:43 +00:00
cgd
4f9fb2ab3e
bound xfer properly in minphys, panic if can't.
1995-07-24 07:25:46 +00:00
chopps
07d9670a6c
remove indirect use of strategy which brok with recent changes
1995-07-05 02:12:38 +00:00
chopps
1ee73a604e
couple small changes from Michael.
1995-04-13 11:59:21 +00:00
mycroft
bdd61fbe66
Fdclose --> fdclose
1995-04-10 09:14:00 +00:00
chopps
e688ef2f10
say something more for unconfigured devices
1995-04-06 19:45:00 +00:00
mycroft
2f8ea29cdb
fdclose -> Fdclose
1994-12-13 21:17:23 +00:00
chopps
548708dd80
bring up to current. change sun to sunos. handle changes in device
...
open params and autoconf match function params.
1994-12-01 17:24:23 +00:00
cgd
ec77f0b327
new RCS ID format.
1994-10-26 02:01:24 +00:00
chopps
fd7e6f6a49
don't hang if no floppy in system.
1994-07-18 01:37:48 +00:00
chopps
3f9c050090
move to new disk minor encoding (parts have lowest 4 bits instead of 3)
1994-07-04 19:37:51 +00:00
chopps
bdb7b94b26
fixed a couple bogons with continueation and motoroff.
1994-06-20 06:36:47 +00:00
chopps
d4b5e243c8
must use file system blocks that are multiples of CLBYTES. (for now)
1994-06-16 15:06:49 +00:00
chopps
41d76d5fd8
add fix from osymh@gemini.oscs.montana.edu (Michael L. Hitch)
1994-06-07 05:41:51 +00:00
chopps
c3cb65ac04
add grfrh (retina ziii) from Donn Cave <donn@u.washington.edu>
...
light cleanup from me. floppy changes, should now be solid.
some changes to ite and ms to fix a couple bugs report by Donn.
1994-06-05 07:45:08 +00:00
chopps
3a8a759a16
new floppy driver from me to replace the old one.
1994-05-29 01:44:26 +00:00
chopps
49c7544f02
changes to make fd work better (not done yet) from Michael Hitch
...
(osymh@montana.edu )
1994-04-22 02:20:48 +00:00
chopps
3629e4d216
yuck, there has got to be a better way to derive things and copyright them.
1994-04-07 17:43:29 +00:00
chopps
7352d87ef6
all amigas ahve internal drive so anything to the contrary is bogus.
1994-04-07 00:43:05 +00:00
chopps
bdb52e02f8
fp -> fd, consistency good. [nameclash bad.]
1994-04-05 23:04:05 +00:00