cam_xpt.c (416ba5c74546f32a993436a99516d35008e9f384) | cam_xpt.c (de2393124c0053d832da9e6de0f675e888ed61c7) |
---|---|
1/*- 2 * Implementation of the Common Access Method Transport (XPT) layer. 3 * 4 * Copyright (c) 1997, 1998, 1999 Justin T. Gibbs. 5 * Copyright (c) 1997, 1998, 1999 Kenneth D. Merry. 6 * All rights reserved. 7 * 8 * Redistribution and use in source and binary forms, with or without --- 522 unchanged lines hidden (view full) --- 531 inccb->ccb_h.path = xpt_periph->path; 532 533 bzero(&mapinfo, sizeof(mapinfo)); 534 535 /* 536 * Map the pattern and match buffers into kernel 537 * virtual address space. 538 */ | 1/*- 2 * Implementation of the Common Access Method Transport (XPT) layer. 3 * 4 * Copyright (c) 1997, 1998, 1999 Justin T. Gibbs. 5 * Copyright (c) 1997, 1998, 1999 Kenneth D. Merry. 6 * All rights reserved. 7 * 8 * Redistribution and use in source and binary forms, with or without --- 522 unchanged lines hidden (view full) --- 531 inccb->ccb_h.path = xpt_periph->path; 532 533 bzero(&mapinfo, sizeof(mapinfo)); 534 535 /* 536 * Map the pattern and match buffers into kernel 537 * virtual address space. 538 */ |
539 error = cam_periph_mapmem(inccb, &mapinfo); | 539 error = cam_periph_mapmem(inccb, &mapinfo, MAXPHYS); |
540 541 if (error) { 542 inccb->ccb_h.path = old_path; 543 break; 544 } 545 546 /* 547 * This is an immediate CCB, we can send it on directly. --- 4771 unchanged lines hidden --- | 540 541 if (error) { 542 inccb->ccb_h.path = old_path; 543 break; 544 } 545 546 /* 547 * This is an immediate CCB, we can send it on directly. --- 4771 unchanged lines hidden --- |