<dec f='src/src/sys/dev/ic/wdcvar.h' l='154' type='void wdc_drvprobe(struct ata_channel * )'/>
<def f='src/src/sys/dev/ic/wdc.c' l='284' ll='472' type='void wdc_drvprobe(struct ata_channel * chp)'/>
<use f='src/src/sys/dev/ic/wdc.c' l='784' u='r' c='wdcattach'/>
<doc f='src/src/sys/dev/ic/wdc.c' l='270'>/* Test to see controller with at last one attached drive is there.
 * Returns a bit for each possible drive found (0x01 for drive 0,
 * 0x02 for drive 1).
 * Logic:
 * - If a status register is at 0xff, assume there is no drive here
 *   (ISA has pull-up resistors).  Similarly if the status register has
 *   the value we last wrote to the bus (for IDE interfaces without pullups).
 *   If no drive at all -&gt; return.
 * - reset the controller, wait for it to complete (may take up to 31s !).
 *   If timeout -&gt; return.
 * - test ATA/ATAPI signatures. If at last one drive found -&gt; return.
 * - try an ATA command on the master.
 */</doc>
<use f='src/src/sys/dev/pci/pdcsata.c' l='355' u='r' c='pdcsata_chip_map'/>
<use f='src/src/sys/dev/pci/pdcsata.c' l='488' u='c' c='pdc203xx_combo_probe'/>
