mirror of
https://github.com/freebsd/freebsd-src
synced 2024-11-05 18:22:52 +00:00
Synchronize with sys/i386/isa/wd.c revision 1.138.
This commit is contained in:
parent
7126e7d523
commit
b4bf5f5176
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=29346
1 changed files with 5 additions and 5 deletions
|
@ -34,7 +34,7 @@
|
|||
* SUCH DAMAGE.
|
||||
*
|
||||
* from: @(#)wd.c 7.2 (Berkeley) 5/9/91
|
||||
* $Id: wd.c,v 1.30 1997/09/05 10:16:02 kato Exp $
|
||||
* $Id: wd.c,v 1.31 1997/09/10 16:34:00 kato Exp $
|
||||
*/
|
||||
|
||||
/* TODO:
|
||||
|
@ -2328,12 +2328,12 @@ wddump(dev_t dev)
|
|||
return (EIO);
|
||||
}
|
||||
while (blkcnt != 0) {
|
||||
if (is_adapter_memory((vm_offset_t)addr))
|
||||
pmap_enter(kernel_pmap, (vm_offset_t)CADDR1,
|
||||
trunc_page(0), VM_PROT_READ, TRUE);
|
||||
else
|
||||
if (is_physical_memory((vm_offset_t)addr))
|
||||
pmap_enter(kernel_pmap, (vm_offset_t)CADDR1,
|
||||
trunc_page(addr), VM_PROT_READ, TRUE);
|
||||
else
|
||||
pmap_enter(kernel_pmap, (vm_offset_t)CADDR1,
|
||||
trunc_page(0), VM_PROT_READ, TRUE);
|
||||
|
||||
/* Ready to send data? */
|
||||
DELAY(5); /* ATA spec */
|
||||
|
|
Loading…
Reference in a new issue