freebsd-dev/sys/cam/ata
Warner Losh 0f280cbd0a Make the ata probe* and xpt* routines aprobe* and axpt* respectively.
Often, in traiging core files, one only has a traceback of where a
panic occurred. We have probe* and xpt* routines that live in both the
scsi and ata layers with identical names. To make one or the other
stand out, prefix all the probe and xpt routines in ata with an
'a'. I've left the scsi ones alone since they were there first and are
more numerous. I also rejected using #define to do this as being too
confusing. I chose this method because the CAM name for the probe
device was already 'aprobe'.

Normally, this doesn't matter because file scope protects one from
interfering with the other. However, due to the indirect nature of
CAM's state machine, you don't know if the following traceback is
SCSI or ATA:
	xpt_done
	probedone
	xpt_done_process
	xpt_done_td
	fork_exit

nvme and mmc already have unique names.

MFC: 1 week
Differential revision: https://reviews.freebsd.org/D24825
2020-05-13 00:18:44 +00:00
..
ata_all.c Make camcontrol sanitize support also ATA devices. 2019-07-25 18:48:31 +00:00
ata_all.h Replay r349340 by imp accidentally reverted by r349352 2019-06-25 06:14:21 +00:00
ata_da.c Convert rotating to a flag bit. 2020-04-27 23:43:12 +00:00
ata_pmp.c Mark more nodes as CTLFLAG_MPSAFE or CTLFLAG_NEEDGIANT (17 of many) 2020-02-26 14:26:36 +00:00
ata_xpt.c Make the ata probe* and xpt* routines aprobe* and axpt* respectively. 2020-05-13 00:18:44 +00:00