1/* 2 * Copyright (c) 2017 ETH Zurich. 3 * All rights reserved. 4 * 5 * This file is distributed under the terms in the attached LICENSE file. 6 * If you do not find this file, copies can be found by writing to: 7 * ETH Zurich D-INFK, Universitaetstr. 6, CH-8092 Zurich. Attn: Systems Group. 8 */ 9 10#ifndef E1000_DEVIF_H 11#define E1000_DEVIF_H 12 13struct e1000_queue; 14 15// interrupt_mode: 0 - none, 1 - normal, 2 - interrupt test 16errval_t e1000_queue_create(struct e1000_queue** q, uint32_t vendor, uint32_t deviceid, 17 uint32_t bus, uint32_t device, uint32_t function, unsigned interrupt_mode, 18 void (*isr)(void *)); 19 20#endif 21