/freebsd/sys/dev/aic7xxx/ |
H A D | aic79xx.c | 104 static void ahd_handle_transmission_error(struct ahd_softc *ahd); 105 static void ahd_handle_lqiphase_error(struct ahd_softc *ahd, 107 static int ahd_handle_pkt_busfree(struct ahd_softc *ahd, 109 static int ahd_handle_nonpkt_busfree(struct ahd_softc *ahd); 110 static void ahd_handle_proto_violation(struct ahd_softc *ahd); 111 static void ahd_force_renegotiation(struct ahd_softc *ahd, 115 ahd_alloc_tstate(struct ahd_softc *ahd, 118 static void ahd_free_tstate(struct ahd_softc *ahd, 121 static void ahd_devlimited_syncrate(struct ahd_softc *ahd, 126 static void ahd_update_neg_table(struct ahd_softc *ahd, [all …]
|
H A D | aic79xx_inline.h | 49 static __inline char *ahd_name(struct ahd_softc *ahd); 52 ahd_name(struct ahd_softc *ahd) in ahd_name() argument 54 return (ahd->name); in ahd_name() 58 static __inline void ahd_known_modes(struct ahd_softc *ahd, 60 static __inline ahd_mode_state ahd_build_mode_state(struct ahd_softc *ahd, 63 static __inline void ahd_extract_mode_state(struct ahd_softc *ahd, 66 static __inline void ahd_set_modes(struct ahd_softc *ahd, ahd_mode src, 68 static __inline void ahd_update_modes(struct ahd_softc *ahd); 69 static __inline void ahd_assert_modes(struct ahd_softc *ahd, ahd_mode srcmode, 72 static __inline ahd_mode_state ahd_save_modes(struct ahd_softc *ahd); [all …]
|
H A D | aic79xx_pci.c | 275 static int ahd_check_extport(struct ahd_softc *ahd); 276 static void ahd_configure_termination(struct ahd_softc *ahd, 278 static void ahd_pci_split_intr(struct ahd_softc *ahd, u_int intstat); 330 ahd_pci_config(struct ahd_softc *ahd, struct ahd_pci_identity *entry) in ahd_find_pci_device() 338 ahd->description = entry->name; in ahd_pci_config() 342 device = aic_pci_read_config(ahd->dev_softc, in ahd_pci_config() 345 ahd->flags |= AHD_HOSTRAID_BOARD; in ahd_pci_config() 350 subvendor = aic_pci_read_config(ahd->dev_softc, in ahd_pci_config() 353 ahd->flags |= AHD_HP_BOARD; in ahd_pci_config() 355 error = entry->setup(ahd); in ahd_pci_config() 336 ahd_pci_config(struct ahd_softc * ahd,struct ahd_pci_identity * entry) ahd_pci_config() argument 459 ahd_pci_test_register_access(struct ahd_softc * ahd) ahd_pci_test_register_access() argument 552 ahd_check_extport(struct ahd_softc * ahd) ahd_check_extport() argument 685 ahd_configure_termination(struct ahd_softc * ahd,u_int adapter_control) ahd_configure_termination() argument 829 ahd_pci_intr(struct ahd_softc * ahd) ahd_pci_intr() argument 885 ahd_pci_split_intr(struct ahd_softc * ahd,u_int intstat) ahd_pci_split_intr() argument 954 ahd_aic7901_setup(struct ahd_softc * ahd) ahd_aic7901_setup() argument 963 ahd_aic7901A_setup(struct ahd_softc * ahd) ahd_aic7901A_setup() argument 972 ahd_aic7902_setup(struct ahd_softc * ahd) ahd_aic7902_setup() argument 980 ahd_aic790X_setup(struct ahd_softc * ahd) ahd_aic790X_setup() argument [all...] |
H A D | ahd_pci.c | 48 "ahd", 53 DRIVER_MODULE(ahd, pci, ahd_pci_driver, 0, 0); 54 MODULE_DEPEND(ahd_pci, ahd, 1, 1, 1); 74 struct ahd_softc *ahd; in ahd_pci_attach() 91 ahd = ahd_alloc(dev, name); in ahd_pci_attach() 92 if (ahd == NULL) in ahd_pci_attach() 95 ahd_set_unit(ahd, device_get_unit(dev)); in ahd_pci_attach() 102 ahd->flags |= AHD_39BIT_ADDRESSING; in ahd_pci_attach() 105 error = aic_dma_tag_create(ahd, /*parent*/bus_get_dma_tag(dev), in ahd_pci_attach() 107 (ahd in ahd_pci_attach() 75 struct ahd_softc *ahd; ahd_pci_attach() local 138 ahd_pci_map_registers(struct ahd_softc * ahd) ahd_pci_map_registers() argument 234 ahd_pci_map_int(struct ahd_softc * ahd) ahd_pci_map_int() argument [all...] |
H A D | aic79xx_osm.h | 73 #define SIM_IS_SCSIBUS_B(ahd, sim) \ argument 75 #define SIM_CHANNEL(ahd, sim) \ argument 77 #define SIM_SCSI_ID(ahd, sim) \ argument 78 (ahd->our_id) 79 #define SIM_PATH(ahd, sim) \ argument 80 (ahd->platform_data->path) 81 #define BUILD_SCSIID(ahd, sim, target_id, our_id) \ argument 85 #define SCB_GET_SIM(ahd, scb) \ argument 86 ((ahd)->platform_data->sim) 143 #define AIC_LIB_PREFIX ahd [all …]
|
H A D | aic79xx_seq.h | 837 typedef int ahd_patch_func_t (struct ahd_softc *ahd); 841 ahd_patch23_func(struct ahd_softc *ahd) in ahd_patch23_func() argument 843 return ((ahd->bugs & AHD_PKT_BITBUCKET_BUG) != 0); in ahd_patch23_func() 849 ahd_patch22_func(struct ahd_softc *ahd) in ahd_patch22_func() argument 851 return ((ahd->bugs & AHD_PKT_BITBUCKET_BUG) == 0); in ahd_patch22_func() 857 ahd_patch21_func(struct ahd_softc *ahd) in ahd_patch21_func() argument 859 return ((ahd->flags & AHD_INITIATORROLE) != 0); in ahd_patch21_func() 865 ahd_patch20_func(struct ahd_softc *ahd) in ahd_patch20_func() argument 867 return ((ahd->flags & AHD_TARGETROLE) != 0); in ahd_patch20_func() 873 ahd_patch19_func(struct ahd_softc *ahd) in ahd_patch19_func() argument [all …]
|
H A D | aic79xx_osm.c | 58 static void ahd_set_tran_settings(struct ahd_softc *ahd, 61 static void ahd_get_tran_settings(struct ahd_softc *ahd, 69 static void ahd_setup_data(struct ahd_softc *ahd, struct cam_sim *sim, 71 static void ahd_abort_ccb(struct ahd_softc *ahd, struct cam_sim *sim, 73 static int ahd_create_path(struct ahd_softc *ahd, 139 ahd_create_path(struct ahd_softc *ahd, char channel, u_int target, 144 path_id = cam_sim_path(ahd->platform_data->sim); in ahd_create_path() 150 ahd_sysctl(struct ahd_softc *ahd) 155 sysctl_ctx_init(&ahd->sysctl_ctx[i]); in ahd_sysctl() 157 ahd in ahd_sysctl() 140 ahd_create_path(struct ahd_softc * ahd,char channel,u_int target,u_int lun,struct cam_path ** path) ahd_create_path() argument 151 ahd_sysctl(struct ahd_softc * ahd) ahd_sysctl() argument 193 ahd_map_int(struct ahd_softc * ahd) ahd_map_int() argument 211 ahd_attach(struct ahd_softc * ahd) ahd_attach() argument 298 struct ahd_softc *ahd; ahd_platform_intr() local 312 ahd_done(struct ahd_softc * ahd,struct scb * scb) ahd_done() argument 452 struct ahd_softc *ahd; ahd_action() local 719 ahd_set_tran_settings(struct ahd_softc * ahd,int our_id,char channel,struct ccb_trans_settings * cts) ahd_set_tran_settings() argument 835 ahd_get_tran_settings(struct ahd_softc * ahd,int our_id,char channel,struct ccb_trans_settings * cts) ahd_get_tran_settings() argument 903 struct ahd_softc *ahd; ahd_async() local 941 struct ahd_softc *ahd; ahd_execute_scb() local 1061 ahd_setup_data(struct ahd_softc * ahd,struct cam_sim * sim,struct ccb_scsiio * csio,struct scb * scb) ahd_setup_data() argument 1129 ahd_abort_ccb(struct ahd_softc * ahd,struct cam_sim * sim,union ccb * ccb) ahd_abort_ccb() argument 1214 ahd_send_async(struct ahd_softc * ahd,char channel,u_int target,u_int lun,ac_code code,void * opt_arg) ahd_send_async() argument 1260 ahd_platform_set_tags(struct ahd_softc * ahd,struct ahd_devinfo * devinfo,int enable) ahd_platform_set_tags() argument 1266 ahd_platform_alloc(struct ahd_softc * ahd,void * platform_arg) ahd_platform_alloc() argument 1276 ahd_platform_free(struct ahd_softc * ahd) ahd_platform_free() argument 1321 struct ahd_softc *ahd; ahd_detach() local [all...] |
H A D | aic79xx.h | 81 #define SCSIID_TARGET(ahd, scsiid) \ argument 85 #define SCSIID_CHANNEL(ahd, scsiid) ('A') argument 86 #define SCB_IS_SCSIBUS_B(ahd, scb) (0) argument 89 #define SCB_GET_TARGET(ahd, scb) \ argument 90 SCSIID_TARGET((ahd), (scb)->hscb->scsiid) 91 #define SCB_GET_CHANNEL(ahd, scb) \ argument 92 SCSIID_CHANNEL(ahd, (scb)->hscb->scsiid) 95 #define SCB_GET_TARGET_OFFSET(ahd, scb) \ argument 96 SCB_GET_TARGET(ahd, scb) 97 #define SCB_GET_TARGET_MASK(ahd, sc argument 130 AHD_GET_SCB_COL_IDX(ahd,scb) global() argument 1324 AHD_SET_SLEWRATE(ahd,new_slew) global() argument 1331 AHD_SET_PRECOMP(ahd,new_pcomp) global() argument 1338 AHD_SET_AMPLITUDE(ahd,new_amp) global() argument 1389 ahd_unbusy_tcl(struct ahd_softc * ahd,u_int tcl) ahd_unbusy_tcl() argument [all...] |
H A D | aic79xx.seq | 42 PATCH_ARG_LIST = "struct ahd_softc *ahd" 49 if ((ahd->bugs & AHD_INTCOLLISION_BUG) != 0) { 56 if ((ahd->bugs & AHD_INTCOLLISION_BUG) != 0) { 122 if ((ahd->bugs & AHD_FAINT_LED_BUG) != 0) { 296 if ((ahd->bugs & AHD_PKT_LUN_BUG) != 0) { 518 if ((ahd->bugs & AHD_SET_MODE_BUG) != 0) { 526 if ((ahd->bugs & AHD_INTCOLLISION_BUG) != 0) { 537 if ((ahd->bugs & AHD_SENT_SCB_UPDATE_BUG) != 0) { 592 if ((ahd->bugs & AHD_NONPACKFIFO_BUG) != 0) { 616 if ((ahd->bugs & AHD_FAINT_LED_BUG) != 0) { [all …]
|
H A D | aic79xx.reg | 60 if ((ahd->bugs & AHD_SET_MODE_BUG) != 0) { \ 67 if ((ahd->bugs & AHD_SET_MODE_BUG) != 0) { \ 74 if ((ahd->bugs & AHD_INTCOLLISION_BUG) != 0) { \
|
/freebsd/sys/modules/aic7xxx/ |
H A D | Makefile | 1 SUBDIR= ahc ahd 9 ( cd ${.CURDIR}/ahd ; ${MAKE} ahdfirmware ) 17 ( cd .${CURDIR}/ahd ; ${MAKE} cleanfirmware )
|
/freebsd/sys/modules/aic7xxx/ahd/ |
H A D | Makefile | 2 KMOD= ahd
|
/freebsd/share/man/man4/ |
H A D | Makefile | 35 ahd.4 \
|
/freebsd/sys/amd64/conf/ |
H A D | GENERIC | 141 device ahd # AHA39320/29320 and onboard AIC79xx devices
|
/freebsd/sys/conf/ |
H A D | NOTES | 1561 # ahd: Adaptec 29320/39320 Controllers. 1580 device ahd 1628 # Aic79xx driver debugging options. Adds ~215k to driver. See ahd(4).
|
H A D | files | 805 dev/aic7xxx/ahd_pci.c optional ahd pci \ 808 dev/aic7xxx/aic79xx.c optional ahd pci 809 dev/aic7xxx/aic79xx_osm.c optional ahd pci 810 dev/aic7xxx/aic79xx_pci.c optional ahd pci 811 dev/aic7xxx/aic79xx_reg_print.c optional ahd pci ahd_reg_pretty_print
|
/freebsd/contrib/ntp/ |
H A D | CommitLog | [all...] |