advansys.c (165102) | advansys.c (168752) |
---|---|
1/*- 2 * Generic driver for the Advanced Systems Inc. SCSI controllers 3 * Product specific probe and attach routines can be found in: 4 * 5 * i386/isa/adv_isa.c ABP5140, ABP542, ABP5150, ABP842, ABP852 6 * i386/eisa/adv_eisa.c ABP742, ABP752 7 * pci/adv_pci.c ABP920, ABP930, ABP930U, ABP930UA, ABP940, ABP940U, 8 * ABP940UA, ABP950, ABP960, ABP960U, ABP960UA, --- 32 unchanged lines hidden (view full) --- 41 * 42 * Redistribution and use in source and binary forms, with or without 43 * modification, are permitted provided that redistributions of source 44 * code retain the above copyright notice and this comment without 45 * modification. 46 */ 47 48#include <sys/cdefs.h> | 1/*- 2 * Generic driver for the Advanced Systems Inc. SCSI controllers 3 * Product specific probe and attach routines can be found in: 4 * 5 * i386/isa/adv_isa.c ABP5140, ABP542, ABP5150, ABP842, ABP852 6 * i386/eisa/adv_eisa.c ABP742, ABP752 7 * pci/adv_pci.c ABP920, ABP930, ABP930U, ABP930UA, ABP940, ABP940U, 8 * ABP940UA, ABP950, ABP960, ABP960U, ABP960UA, --- 32 unchanged lines hidden (view full) --- 41 * 42 * Redistribution and use in source and binary forms, with or without 43 * modification, are permitted provided that redistributions of source 44 * code retain the above copyright notice and this comment without 45 * modification. 46 */ 47 48#include <sys/cdefs.h> |
49__FBSDID("$FreeBSD: head/sys/dev/advansys/advansys.c 165102 2006-12-11 18:28:31Z mjacob $"); | 49__FBSDID("$FreeBSD: head/sys/dev/advansys/advansys.c 168752 2007-04-15 08:49:19Z scottl $"); |
50 51#include <sys/param.h> 52#include <sys/systm.h> 53#include <sys/malloc.h> 54#include <sys/kernel.h> 55#include <sys/lock.h> 56#include <sys/module.h> 57#include <sys/mutex.h> --- 1351 unchanged lines hidden (view full) --- 1409 devq = cam_simq_alloc(adv->max_openings); 1410 if (devq == NULL) 1411 return (ENOMEM); 1412 1413 /* 1414 * Construct our SIM entry. 1415 */ 1416 adv->sim = cam_sim_alloc(adv_action, adv_poll, "adv", adv, adv->unit, | 50 51#include <sys/param.h> 52#include <sys/systm.h> 53#include <sys/malloc.h> 54#include <sys/kernel.h> 55#include <sys/lock.h> 56#include <sys/module.h> 57#include <sys/mutex.h> --- 1351 unchanged lines hidden (view full) --- 1409 devq = cam_simq_alloc(adv->max_openings); 1410 if (devq == NULL) 1411 return (ENOMEM); 1412 1413 /* 1414 * Construct our SIM entry. 1415 */ 1416 adv->sim = cam_sim_alloc(adv_action, adv_poll, "adv", adv, adv->unit, |
1417 1, adv->max_openings, devq); | 1417 &Giant, 1, adv->max_openings, devq); |
1418 if (adv->sim == NULL) 1419 return (ENOMEM); 1420 1421 /* 1422 * Register the bus. 1423 * 1424 * XXX Twin Channel EISA Cards??? 1425 */ --- 22 unchanged lines hidden --- | 1418 if (adv->sim == NULL) 1419 return (ENOMEM); 1420 1421 /* 1422 * Register the bus. 1423 * 1424 * XXX Twin Channel EISA Cards??? 1425 */ --- 22 unchanged lines hidden --- |