Date: Sun, 3 Sep 2006 20:46:36 GMT From: John-Mark Gurney <jmg@FreeBSD.org> To: Perforce Change Reviews <perforce@freebsd.org> Subject: PERFORCE change 105614 for review Message-ID: <200609032046.k83KkaKr051632@repoman.freebsd.org>
next in thread | raw e-mail | index | archive | help
http://perforce.freebsd.org/chv.cgi?CH=105614 Change 105614 by jmg@jmg_carbon-60 on 2006/09/03 20:46:06 debugging for ata on t2k.. Affected files ... .. //depot/projects/kmacy_sun4v_stable/src/sys/dev/ata/ata-all.c#2 edit Differences ... ==== //depot/projects/kmacy_sun4v_stable/src/sys/dev/ata/ata-all.c#2 (text+ko) ==== @@ -665,6 +665,7 @@ device_t master_child = NULL, slave_child = NULL; int master_unit = -1, slave_unit = -1; + device_printf(dev, "ata_identify\n"); if (ch->devices & (ATA_ATA_MASTER | ATA_ATAPI_MASTER)) { if (!(master = malloc(sizeof(struct ata_device), M_ATA, M_NOWAIT | M_ZERO))) { @@ -700,15 +701,18 @@ slave = NULL; } + device_printf(dev, "slave ata_getparam\n"); if (slave && ata_getparam(slave, 1)) { device_delete_child(dev, slave_child); free(slave, M_ATA); } + device_printf(dev, "master ata_getparam\n"); if (master && ata_getparam(master, 1)) { device_delete_child(dev, master_child); free(master, M_ATA); } + device_printf(dev, "probe and attach\n"); bus_generic_probe(dev); bus_generic_attach(dev); return 0;
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200609032046.k83KkaKr051632>