Tweak the front end driver file list
Also some minor whitespace nits.
This commit is contained in:
parent
740d18ecdc
commit
116f7a3ddb
@ -2,12 +2,12 @@
|
||||
* Generic register and struct definitions for the Adaptech 154x/164x
|
||||
* SCSI host adapters. Product specific probe and attach routines can
|
||||
* be found in:
|
||||
* aha 1540/1542B/1542C/1542CF/1542CP aha_isa.c
|
||||
* aha 1542B/1542C/1542CF/1542CP aha_isa.c
|
||||
* aha 1640 aha_mca.c
|
||||
*
|
||||
* Copyright (c) 1998 M. Warner Losh.
|
||||
* All Rights Reserved.
|
||||
*
|
||||
*
|
||||
* Redistribution and use in source and binary forms, with or without
|
||||
* modification, are permitted provided that the following conditions
|
||||
* are met:
|
||||
@ -444,7 +444,6 @@ aha_fetch_adapter_info(struct aha_softc *aha)
|
||||
aha->num_boxes = aha->max_ccbs;
|
||||
|
||||
/* Determine our SCSI ID */
|
||||
|
||||
error = aha_cmd(aha, AOP_INQUIRE_CONFIG, NULL, /*parmlen*/0,
|
||||
(uint8_t*)&config_data, sizeof(config_data), DEFAULT_CMD_TIMEOUT);
|
||||
if (error != 0) {
|
||||
@ -642,12 +641,10 @@ aha_attach(struct aha_softc *aha)
|
||||
cam_simq_free(devq);
|
||||
return (ENOMEM);
|
||||
}
|
||||
|
||||
if (xpt_bus_register(aha->sim, 0) != CAM_SUCCESS) {
|
||||
cam_sim_free(aha->sim, /*free_devq*/TRUE);
|
||||
return (ENXIO);
|
||||
}
|
||||
|
||||
if (xpt_create_path(&aha->path, /*periph*/NULL, cam_sim_path(aha->sim),
|
||||
CAM_TARGET_WILDCARD, CAM_LUN_WILDCARD) != CAM_REQ_CMP) {
|
||||
xpt_bus_deregister(cam_sim_path(aha->sim));
|
||||
@ -832,7 +829,6 @@ ahaaction(struct cam_sim *sim, union ccb *ccb)
|
||||
xpt_done(ccb);
|
||||
return;
|
||||
}
|
||||
|
||||
hccb = &accb->hccb;
|
||||
|
||||
/*
|
||||
@ -1021,7 +1017,6 @@ ahaaction(struct cam_sim *sim, union ccb *ccb)
|
||||
ccg = &ccb->ccg;
|
||||
size_mb = ccg->volume_size
|
||||
/ ((1024L * 1024L) / ccg->block_size);
|
||||
|
||||
if (size_mb >= 1024 && (aha->extended_trans != 0)) {
|
||||
if (size_mb >= 2048) {
|
||||
ccg->heads = 255;
|
||||
|
Loading…
Reference in New Issue
Block a user