Deleted Added
full compact
mvs.h (207536) mvs.h (220569)
1/*-
2 * Copyright (c) 2010 Alexander Motin <mav@FreeBSD.org>
3 * All rights reserved.
4 *
5 * Redistribution and use in source and binary forms, with or without
6 * modification, are permitted provided that the following conditions
7 * are met:
8 * 1. Redistributions of source code must retain the above copyright

--- 9 unchanged lines hidden (view full) ---

18 * IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT,
19 * INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT
20 * NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
21 * DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
22 * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
23 * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF
24 * THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
25 *
1/*-
2 * Copyright (c) 2010 Alexander Motin <mav@FreeBSD.org>
3 * All rights reserved.
4 *
5 * Redistribution and use in source and binary forms, with or without
6 * modification, are permitted provided that the following conditions
7 * are met:
8 * 1. Redistributions of source code must retain the above copyright

--- 9 unchanged lines hidden (view full) ---

18 * IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT,
19 * INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT
20 * NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
21 * DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
22 * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
23 * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF
24 * THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
25 *
26 * $FreeBSD: head/sys/dev/mvs/mvs.h 207536 2010-05-02 19:28:30Z mav $
26 * $FreeBSD: head/sys/dev/mvs/mvs.h 220569 2011-04-12 16:01:27Z mav $
27 */
28
29#include "mvs_if.h"
30
31/* Chip registers */
32#define CHIP_PCIEIC 0x1900 /* PCIe Interrupt Cause */
33#define CHIP_PCIEIM 0x1910 /* PCIe Interrupt Mask */
34#define CHIP_PCIIC 0x1d58 /* PCI Interrupt Cause */

--- 517 unchanged lines hidden (view full) ---

552 uint32_t toslots; /* Slots in timeout */
553 int numrslots; /* Number of running slots */
554 int numrslotspd[16];/* Number of running slots per dev */
555 int numpslots; /* Number of PIO slots */
556 int numdslots; /* Number of DMA slots */
557 int numtslots; /* Number of NCQ slots */
558 int numtslotspd[16];/* Number of NCQ slots per dev */
559 int numhslots; /* Number of holden slots */
27 */
28
29#include "mvs_if.h"
30
31/* Chip registers */
32#define CHIP_PCIEIC 0x1900 /* PCIe Interrupt Cause */
33#define CHIP_PCIEIM 0x1910 /* PCIe Interrupt Mask */
34#define CHIP_PCIIC 0x1d58 /* PCI Interrupt Cause */

--- 517 unchanged lines hidden (view full) ---

552 uint32_t toslots; /* Slots in timeout */
553 int numrslots; /* Number of running slots */
554 int numrslotspd[16];/* Number of running slots per dev */
555 int numpslots; /* Number of PIO slots */
556 int numdslots; /* Number of DMA slots */
557 int numtslots; /* Number of NCQ slots */
558 int numtslotspd[16];/* Number of NCQ slots per dev */
559 int numhslots; /* Number of holden slots */
560 int readlog; /* Our READ LOG active */
560 int recoverycmd; /* Our READ LOG active */
561 int fatalerr; /* Fatal error happend */
562 int lastslot; /* Last used slot */
563 int taggedtarget; /* Last tagged target */
564 int out_idx; /* Next written CRQB */
565 int in_idx; /* Next read CRPB */
566 u_int transfersize; /* PIO transfer size */
567 u_int donecount; /* PIO bytes sent/received */
568 u_int basic_dma; /* Basic DMA used for ATAPI */

--- 82 unchanged lines hidden ---
561 int fatalerr; /* Fatal error happend */
562 int lastslot; /* Last used slot */
563 int taggedtarget; /* Last tagged target */
564 int out_idx; /* Next written CRQB */
565 int in_idx; /* Next read CRPB */
566 u_int transfersize; /* PIO transfer size */
567 u_int donecount; /* PIO bytes sent/received */
568 u_int basic_dma; /* Basic DMA used for ATAPI */

--- 82 unchanged lines hidden ---