nicvf_main.c (0ef477ea8cebc6519a922488e6519fad82b2d7f0) | nicvf_main.c (f4aafb9ea6efd41efe05876d0e6ed70e46b425f0) |
---|---|
1/* 2 * Copyright (C) 2015 Cavium Inc. 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 --- 115 unchanged lines hidden (view full) --- 124static driver_t nicvf_driver = { 125 "vnic", 126 nicvf_methods, 127 sizeof(struct nicvf), 128}; 129 130static devclass_t nicvf_devclass; 131 | 1/* 2 * Copyright (C) 2015 Cavium Inc. 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 --- 115 unchanged lines hidden (view full) --- 124static driver_t nicvf_driver = { 125 "vnic", 126 nicvf_methods, 127 sizeof(struct nicvf), 128}; 129 130static devclass_t nicvf_devclass; 131 |
132DRIVER_MODULE(nicvf, pci, nicvf_driver, nicvf_devclass, 0, 0); 133MODULE_DEPEND(nicvf, pci, 1, 1, 1); 134MODULE_DEPEND(nicvf, ether, 1, 1, 1); 135MODULE_DEPEND(nicvf, vnic_pf, 1, 1, 1); | 132DRIVER_MODULE(vnicvf, pci, nicvf_driver, nicvf_devclass, 0, 0); 133MODULE_VERSION(vnicvf, 1); 134MODULE_DEPEND(vnicvf, pci, 1, 1, 1); 135MODULE_DEPEND(vnicvf, ether, 1, 1, 1); 136MODULE_DEPEND(vnicvf, vnicpf, 1, 1, 1); |
136 137static int nicvf_allocate_misc_interrupt(struct nicvf *); 138static int nicvf_enable_misc_interrupt(struct nicvf *); 139static int nicvf_allocate_net_interrupts(struct nicvf *); 140static void nicvf_release_all_interrupts(struct nicvf *); 141static int nicvf_update_hw_max_frs(struct nicvf *, int); 142static int nicvf_hw_set_mac_addr(struct nicvf *, uint8_t *); 143static void nicvf_config_cpi(struct nicvf *); --- 1483 unchanged lines hidden --- | 137 138static int nicvf_allocate_misc_interrupt(struct nicvf *); 139static int nicvf_enable_misc_interrupt(struct nicvf *); 140static int nicvf_allocate_net_interrupts(struct nicvf *); 141static void nicvf_release_all_interrupts(struct nicvf *); 142static int nicvf_update_hw_max_frs(struct nicvf *, int); 143static int nicvf_hw_set_mac_addr(struct nicvf *, uint8_t *); 144static void nicvf_config_cpi(struct nicvf *); --- 1483 unchanged lines hidden --- |