psycho.c (227843) | psycho.c (242625) |
---|---|
1/*- 2 * Copyright (c) 1999, 2000 Matthew R. Green 3 * Copyright (c) 2001 - 2003 by Thomas Moestl <tmm@FreeBSD.org> 4 * Copyright (c) 2005 - 2006 Marius Strobl <marius@FreeBSD.org> 5 * All rights reserved. 6 * 7 * Redistribution and use in source and binary forms, with or without 8 * modification, are permitted provided that the following conditions --- 17 unchanged lines hidden (view full) --- 26 * OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY 27 * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF 28 * SUCH DAMAGE. 29 * 30 * from: NetBSD: psycho.c,v 1.39 2001/10/07 20:30:41 eeh Exp 31 */ 32 33#include <sys/cdefs.h> | 1/*- 2 * Copyright (c) 1999, 2000 Matthew R. Green 3 * Copyright (c) 2001 - 2003 by Thomas Moestl <tmm@FreeBSD.org> 4 * Copyright (c) 2005 - 2006 Marius Strobl <marius@FreeBSD.org> 5 * All rights reserved. 6 * 7 * Redistribution and use in source and binary forms, with or without 8 * modification, are permitted provided that the following conditions --- 17 unchanged lines hidden (view full) --- 26 * OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY 27 * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF 28 * SUCH DAMAGE. 29 * 30 * from: NetBSD: psycho.c,v 1.39 2001/10/07 20:30:41 eeh Exp 31 */ 32 33#include <sys/cdefs.h> |
34__FBSDID("$FreeBSD: head/sys/sparc64/pci/psycho.c 227843 2011-11-22 21:28:20Z marius $"); | 34__FBSDID("$FreeBSD: head/sys/sparc64/pci/psycho.c 242625 2012-11-05 19:16:27Z dim $"); |
35 36/* 37 * Support for `Hummingbird' (UltraSPARC IIe), `Psycho' and `Psycho+' 38 * (UltraSPARC II) and `Sabre' (UltraSPARC IIi) UPA to PCI bridges. 39 */ 40 41#include "opt_ofw_pci.h" 42#include "opt_psycho.h" --- 174 unchanged lines hidden (view full) --- 217 */ 218 219struct psycho_desc { 220 const char *pd_string; 221 int pd_mode; 222 const char *pd_name; 223}; 224 | 35 36/* 37 * Support for `Hummingbird' (UltraSPARC IIe), `Psycho' and `Psycho+' 38 * (UltraSPARC II) and `Sabre' (UltraSPARC IIi) UPA to PCI bridges. 39 */ 40 41#include "opt_ofw_pci.h" 42#include "opt_psycho.h" --- 174 unchanged lines hidden (view full) --- 217 */ 218 219struct psycho_desc { 220 const char *pd_string; 221 int pd_mode; 222 const char *pd_name; 223}; 224 |
225static const struct psycho_desc const psycho_compats[] = { | 225static const struct psycho_desc psycho_compats[] = { |
226 { "pci108e,8000", PSYCHO_MODE_PSYCHO, "Psycho compatible" }, 227 { "pci108e,a000", PSYCHO_MODE_SABRE, "Sabre compatible" }, 228 { "pci108e,a001", PSYCHO_MODE_SABRE, "Hummingbird compatible" }, 229 { NULL, 0, NULL } 230}; 231 | 226 { "pci108e,8000", PSYCHO_MODE_PSYCHO, "Psycho compatible" }, 227 { "pci108e,a000", PSYCHO_MODE_SABRE, "Sabre compatible" }, 228 { "pci108e,a001", PSYCHO_MODE_SABRE, "Hummingbird compatible" }, 229 { NULL, 0, NULL } 230}; 231 |
232static const struct psycho_desc const psycho_models[] = { | 232static const struct psycho_desc psycho_models[] = { |
233 { "SUNW,psycho", PSYCHO_MODE_PSYCHO, "Psycho" }, 234 { "SUNW,sabre", PSYCHO_MODE_SABRE, "Sabre" }, 235 { NULL, 0, NULL } 236}; 237 238static const struct psycho_desc * 239psycho_find_desc(const struct psycho_desc *table, const char *string) 240{ --- 1063 unchanged lines hidden --- | 233 { "SUNW,psycho", PSYCHO_MODE_PSYCHO, "Psycho" }, 234 { "SUNW,sabre", PSYCHO_MODE_SABRE, "Sabre" }, 235 { NULL, 0, NULL } 236}; 237 238static const struct psycho_desc * 239psycho_find_desc(const struct psycho_desc *table, const char *string) 240{ --- 1063 unchanged lines hidden --- |