thorpej
4044b5a41c
Use separate callouts for motor-on and motor-off. Fixes a condition
...
where the floppy driver would wedge because a motor-on timeout would
be cancelled by another I/O operation cancelling a motor-off timeout.
From enami tsugutomo <enami@sm.sony.co.jp>.
2000-04-07 16:58:53 +00:00
tsutsui
49e70b6653
Add include <vm/vm.h> and <uvm/uvm_extern.h> for
...
declaration of uvm_swapin(), which is no longer in <sys/proc.h>.
2000-03-31 14:18:53 +00:00
thorpej
7b918b4088
New callout mechanism with two major improvements over the old
...
timeout()/untimeout() API:
- Clients supply callout handle storage, thus eliminating problems of
resource allocation.
- Insertion and removal of callouts is constant time, important as
this facility is used quite a lot in the kernel.
The old timeout()/untimeout() API has been removed from the kernel.
2000-03-23 06:40:33 +00:00
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
cb239424d0
Fix part of previous commit.
2000-01-28 18:27:41 +00:00
jdc
adedf8475e
BUFQ_* fixes.
2000-01-28 11:30:22 +00:00
thorpej
dc59bc1db3
Update for sys/buf.h/disksort_*() changes.
2000-01-21 23:39:55 +00:00
bouyer
f6f9f8a965
Change DIOCEJECT to do what's needed to eject a device before the eject
...
command (unlock for sd and cd) if no other partitions are open, return
EBUSY otherwise. DIOCEJECT will have the old semantic if its argument is not
0. The old ioctl has been renamed to ODIOCEJECT for binary compatibility.
1999-02-08 16:33:16 +00:00
mycroft
6d3d8a1350
Make copyright notices with my name consistent.
1998-08-15 03:02:31 +00:00
gwr
4eeeee6a7c
Print a complaint when no children were specified
...
in the config file. Better than a link error...
1998-07-23 23:48:33 +00:00
jonathan
466e784ee1
defopt DDB.
1998-07-04 22:18:13 +00:00
gwr
eff2e270bd
Merge arch/sun3x into arch/sun3
1998-02-05 04:56:24 +00:00
gwr
ccf791aa2e
Add: extern struct cfdriver fdc_cd;
1998-01-22 21:26:25 +00:00
thorpej
2565ff444a
Update for config changes.
1998-01-12 20:35:04 +00:00
jeremy
4502541573
When turning off the drive motor, de-select the drive so the busy light
...
extinguishes.
1997-05-30 03:23:11 +00:00
jeremy
fc60f1979e
Prevent RAM disk hooks from compiling until sun3 md_root.c can support
...
ram disk images that are read in from the outside.
Sync with some old local changes.
1997-05-24 00:09:49 +00:00
gwr
e2ca51d2a1
Fixed OBIO locators bug, so this can do the normal thing now.
...
Also improved handling of spurious interrupts, and sync up with
the sparc version.
1997-04-25 18:55:05 +00:00
jeremy
3c962bb544
First working version.
1997-04-09 04:49:09 +00:00