pci-legacy.c (0cce284537fb42d9c28b9b31038ffc9b464555f5) | pci-legacy.c (edb0b6a0b4490014924d56c4c7117c7c8fc608ca) |
---|---|
1/* 2 * This program is free software; you can redistribute it and/or modify it 3 * under the terms of the GNU General Public License as published by the 4 * Free Software Foundation; either version 2 of the License, or (at your 5 * option) any later version. 6 * 7 * Copyright (C) 2003, 04, 11 Ralf Baechle (ralf@linux-mips.org) 8 * Copyright (C) 2011 Wind River Systems, --- 176 unchanged lines hidden (view full) --- 185 parent = &ioport_resource; 186 187 if (request_resource(parent, hose->io_resource) < 0) { 188 release_resource(hose->mem_resource); 189 goto out; 190 } 191 192 INIT_LIST_HEAD(&hose->list); | 1/* 2 * This program is free software; you can redistribute it and/or modify it 3 * under the terms of the GNU General Public License as published by the 4 * Free Software Foundation; either version 2 of the License, or (at your 5 * option) any later version. 6 * 7 * Copyright (C) 2003, 04, 11 Ralf Baechle (ralf@linux-mips.org) 8 * Copyright (C) 2011 Wind River Systems, --- 176 unchanged lines hidden (view full) --- 185 parent = &ioport_resource; 186 187 if (request_resource(parent, hose->io_resource) < 0) { 188 release_resource(hose->mem_resource); 189 goto out; 190 } 191 192 INIT_LIST_HEAD(&hose->list); |
193 list_add(&hose->list, &controllers); | 193 list_add_tail(&hose->list, &controllers); |
194 195 /* 196 * Do not panic here but later - this might happen before console init. 197 */ 198 if (!hose->io_map_base) { 199 printk(KERN_WARNING 200 "registering PCI controller with io_map_base unset\n"); 201 } --- 101 unchanged lines hidden --- | 194 195 /* 196 * Do not panic here but later - this might happen before console init. 197 */ 198 if (!hose->io_map_base) { 199 printk(KERN_WARNING 200 "registering PCI controller with io_map_base unset\n"); 201 } --- 101 unchanged lines hidden --- |