Changeset 185 for trunk/src/os2ahci/trace.c
- Timestamp:
- Dec 20, 2016, 9:35:27 PM (9 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/os2ahci/trace.c
r184 r185 1 1 /****************************************************************************** 2 * trace.c - code for our internal trace ring buffer3 2 * 4 * Copyright (c) 2011 thi.guten Software Development5 * Copyright (c) 2011 Mensys B.V.6 3 * Copyright (c) 2013-2016 David Azarewicz 7 4 * 8 * Authors: Christian Mueller, Markus Thielen9 *10 * Parts copied from/inspired by the Linux AHCI driver;11 * those parts are (c) Linux AHCI/ATA maintainers12 *13 * This program is free software; you can redistribute it and/or modify14 * it under the terms of the GNU General Public License as published by15 * the Free Software Foundation; either version 2 of the License, or16 * (at your option) any later version.17 *18 * This program is distributed in the hope that it will be useful,19 * but WITHOUT ANY WARRANTY; without even the implied warranty of20 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the21 * GNU General Public License for more details.22 *23 * You should have received a copy of the GNU General Public License24 * along with this program; if not, write to the Free Software25 * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA26 5 */ 27 6 … … 58 37 ai->bios_config[HOST_VERSION / sizeof(u32)]); 59 38 60 for (p = 0; p < ai->hw_ports; p++)39 for (p = 0; p <= ai->port_max; p++) 61 40 { 62 41 P_INFO *pi = &ai->ports[p]; … … 80 59 } 81 60 dprintf(0,"\n"); 61 dprintf(0," Model: %s\n", pi->devs[d].dev_name); 82 62 } /* if */ 83 63 } /* for d */
Note:
See TracChangeset
for help on using the changeset viewer.