mvs.h (cd8537910406e68d4719136a5b0cf6d23bb1b23b) | mvs.h (827252eefd1a22a9602ad03a272d7896b17e3371) |
---|---|
1/*- 2 * SPDX-License-Identifier: BSD-2-Clause-FreeBSD 3 * 4 * Copyright (c) 2010 Alexander Motin <mav@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 --- 617 unchanged lines hidden (view full) --- 626 * until READ LOG executed to reveal error. */ 627}; 628 629struct mvs_intr_arg { 630 void *arg; 631 u_int cause; 632}; 633 | 1/*- 2 * SPDX-License-Identifier: BSD-2-Clause-FreeBSD 3 * 4 * Copyright (c) 2010 Alexander Motin <mav@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 --- 617 unchanged lines hidden (view full) --- 626 * until READ LOG executed to reveal error. */ 627}; 628 629struct mvs_intr_arg { 630 void *arg; 631 u_int cause; 632}; 633 |
634extern devclass_t mvs_devclass; 635 | |
636/* macros to hide busspace uglyness */ 637#define ATA_INB(res, offset) \ 638 bus_read_1((res), (offset)) 639#define ATA_INW(res, offset) \ 640 bus_read_2((res), (offset)) 641#define ATA_INL(res, offset) \ 642 bus_read_4((res), (offset)) 643#define ATA_INSW(res, offset, addr, count) \ --- 21 unchanged lines hidden --- | 634/* macros to hide busspace uglyness */ 635#define ATA_INB(res, offset) \ 636 bus_read_1((res), (offset)) 637#define ATA_INW(res, offset) \ 638 bus_read_2((res), (offset)) 639#define ATA_INL(res, offset) \ 640 bus_read_4((res), (offset)) 641#define ATA_INSW(res, offset, addr, count) \ --- 21 unchanged lines hidden --- |