mv_pci.c (186947) | mv_pci.c (191140) |
---|---|
1/*- 2 * Copyright (C) 2008 MARVELL INTERNATIONAL LTD. 3 * All rights reserved. 4 * 5 * Developed by Semihalf. 6 * 7 * Redistribution and use in source and binary forms, with or without 8 * modification, are permitted provided that the following conditions --- 20 unchanged lines hidden (view full) --- 29 * SUCH DAMAGE. 30 */ 31 32/* 33 * Marvell integrated PCI/PCI-Express controller driver. 34 */ 35 36#include <sys/cdefs.h> | 1/*- 2 * Copyright (C) 2008 MARVELL INTERNATIONAL LTD. 3 * All rights reserved. 4 * 5 * Developed by Semihalf. 6 * 7 * Redistribution and use in source and binary forms, with or without 8 * modification, are permitted provided that the following conditions --- 20 unchanged lines hidden (view full) --- 29 * SUCH DAMAGE. 30 */ 31 32/* 33 * Marvell integrated PCI/PCI-Express controller driver. 34 */ 35 36#include <sys/cdefs.h> |
37__FBSDID("$FreeBSD: head/sys/arm/mv/mv_pci.c 186947 2009-01-09 12:38:41Z raj $"); | 37__FBSDID("$FreeBSD: head/sys/arm/mv/mv_pci.c 191140 2009-04-16 11:20:18Z raj $"); |
38 39#include <sys/param.h> 40#include <sys/systm.h> 41#include <sys/kernel.h> 42#include <sys/lock.h> 43#include <sys/malloc.h> 44#include <sys/module.h> 45#include <sys/mutex.h> --- 408 unchanged lines hidden (view full) --- 454 break; 455 case 0x5182: 456 id = "88F5182"; 457 break; 458 case 0x6281: 459 id = "88F6281"; 460 break; 461 case 0x6381: | 38 39#include <sys/param.h> 40#include <sys/systm.h> 41#include <sys/kernel.h> 42#include <sys/lock.h> 43#include <sys/malloc.h> 44#include <sys/module.h> 45#include <sys/mutex.h> --- 408 unchanged lines hidden (view full) --- 454 break; 455 case 0x5182: 456 id = "88F5182"; 457 break; 458 case 0x6281: 459 id = "88F6281"; 460 break; 461 case 0x6381: |
462 id = "MV78100 Z0"; 463 break; 464 case 0x7810: |
|
462 id = "MV78100"; 463 break; | 465 id = "MV78100"; 466 break; |
467 case 0x7820: 468 /* 469 * According to documentation ID 0x7820 is assigned to MV78200. 470 * However some MV78100 chips also use it. 471 */ 472 id = "MV78100/MV78200"; 473 break; |
|
464 default: 465 device_printf(self, "unknown Marvell PCI bridge: %x\n", val); 466 goto out; 467 } 468 469 type = "PCI"; 470 val = pcib_mbus_hw_cfgread(sc, bus, dev, 0, PCIR_CAP_PTR, 1); 471 while (val != 0) { --- 374 unchanged lines hidden --- | 474 default: 475 device_printf(self, "unknown Marvell PCI bridge: %x\n", val); 476 goto out; 477 } 478 479 type = "PCI"; 480 val = pcib_mbus_hw_cfgread(sc, bus, dev, 0, PCIR_CAP_PTR, 1); 481 while (val != 0) { --- 374 unchanged lines hidden --- |