Alex Forencich
4ade485344
bits.h is not available in userspace
2021-10-21 15:38:25 -07:00
Alex Forencich
27c9241a69
Update header comment, add SPDX license identifiers
2021-10-21 14:55:48 -07:00
Alex Forencich
df4c1c9db7
Use strscpy instead of strncpy
2021-10-21 14:45:22 -07:00
Alex Forencich
323791cff3
Use __func__ for function name in debug messages
2021-10-21 14:44:05 -07:00
Alex Forencich
79f778d85a
Remove out of memory messages; kernel should print stack trace when allocation fails
2021-10-21 14:01:29 -07:00
Alex Forencich
2adaf820b5
More kernel module coding style updates
2021-10-21 13:54:00 -07:00
Alex Forencich
5b49f09baa
Fix kernel module coding style
2021-10-08 18:31:53 -07:00
Alex Forencich
1bce5827c9
Rework ethtool get_ts_info implementation
2021-10-08 17:47:22 -07:00
Alex Forencich
4294e5ea1d
Use BIT macros
2021-10-08 16:55:56 -07:00
Alex Forencich
2fc87915e3
Update driver for i2c_board_info struct change in kernel 5.13
2021-10-05 22:20:16 -07:00
Alex Forencich
c249081dd2
Use DRIVER_NAME define
2021-10-01 23:45:06 -07:00
Alex Forencich
0965c77b8e
Remove MODULE_SUPPORTED_DEVICE, which was never implemented and was removed in kernel version 5.12
2021-10-01 17:31:15 -07:00
Alex Forencich
c8dd50b051
pcie_print_link_status was added in kernel version 4.17
2021-09-24 17:05:35 -07:00
Alex Forencich
875b664c13
Update offset
2021-09-13 12:54:35 -07:00
Alex Forencich
2442ff65c5
Support application and RAM bars
2021-09-09 17:50:44 -07:00
Alex Forencich
d0976f193b
Use correct type
2021-09-09 17:49:11 -07:00
Alex Forencich
5f7b0292fc
Print more PCIe information
2021-08-30 01:27:25 -07:00
Alex Forencich
8bf38e20c7
Add missing includes
2021-08-20 18:08:22 -07:00
Alex Forencich
9c8e8430ab
Include misc device name in debug output
2021-03-30 15:05:54 -07:00
Alex Forencich
ee3784ca6e
Add driver support for Silicom Gecko BMC
2021-03-04 22:44:49 -08:00
Alex Forencich
2cbdb40a4c
Index instead of offset
2021-03-04 19:18:21 -08:00
Alex Forencich
3a503cc6aa
Rename BMC-related methods
2021-03-04 19:02:59 -08:00
Alex Forencich
7c8abe261b
Add driver support for Alveo BMC
2021-02-01 21:55:07 -08:00
Alex Forencich
8274d0b713
Minor refactor
2021-02-01 21:53:55 -08:00
Alex Forencich
9f970b1556
Use ETH_ALEN
2021-02-01 21:53:38 -08:00
Alex Forencich
6b142d36c2
Pull board-specific code into mqnic_board.c and refactor I2C code
2021-02-01 20:10:48 -08:00
Alex Forencich
df32217dc8
Use MAC list instead of base MAC for more flexibility
2021-01-31 22:25:24 -08:00
Pekka Enberg
57809dad90
mqnic_i2c: Fix device_attach() error handling
...
If the device_attach() function fails, make sure "client" is free'd and
that the create_i2c_client() function returns NULL to signal an error to
callers.
Signed-off-by: Pekka Enberg <penberg@iki.fi>
2021-01-16 13:18:23 -08:00
Alex Forencich
220511f661
Use little endian types in hardware structs
2021-01-13 20:19:45 -08:00
Alex Forencich
9ceacea0e0
Fix types
2021-01-13 20:18:01 -08:00
Alex Forencich
ddda63476c
Make internal functions static
2021-01-13 20:09:09 -08:00
Alex Forencich
dd3374626f
Add flash control registers to mqnic_hw.h
2020-10-04 00:43:36 -07:00
Alex Forencich
6fcd638f6c
Fix organization
2020-09-25 23:14:22 -07:00
Alex Forencich
6178d52056
Add driver support for fb2CG@KU15P
2020-09-22 23:12:28 -07:00
Alex Forencich
8d4dcad7ea
Support I2C transceiver access on Alveo U200 and Alveo U250
2020-09-22 01:02:16 -07:00
Alex Forencich
945b2d3206
Add ethtool support for reading module EEPROMs
2020-09-19 17:25:58 -07:00
Alex Forencich
639cc1d02b
Register I2C muxes and clients for NetFPGA SUME, VCU108, VCU118, VCU1525, and ZCU106
2020-09-19 17:25:58 -07:00
Alex Forencich
a46cb33b69
Add mqnic_create_i2c_adapter method
2020-09-19 17:25:58 -07:00
Alex Forencich
a37d9b3465
New transceiver control reigster definitions
2020-09-19 17:25:58 -07:00
Alex Forencich
3284ec3848
New I2C register definitions
2020-09-19 17:25:58 -07:00
Alex Forencich
150f3e1768
Add create_i2c_client method
2020-09-19 17:25:58 -07:00
Alex Forencich
ac9dac0365
Use ARRAY_SIZE macro
2020-08-26 01:40:31 -07:00
Alex Forencich
e1456fb03b
Use correct helper function
2020-08-18 23:23:52 -07:00
Alex Forencich
39e55a1499
Rename PCI driver struct
2020-08-18 23:22:55 -07:00
Alex Forencich
5cc5aea95e
Rename PCI-related functions
2020-08-18 01:21:06 -07:00
Alex Forencich
b6e5216ab4
Add IRQ mapping
2020-08-17 23:53:31 -07:00
Alex Forencich
9b019aba29
Add board ID for ZCU106
2020-08-06 23:33:54 -07:00
Alex Forencich
907bb68a99
Use misc device properly
2020-07-31 00:47:43 -07:00
Alex Forencich
6edce8c984
Add BAR size check
2020-07-30 23:48:52 -07:00
Alex Forencich
ae57fc941c
Add missing error code
2020-07-30 23:48:26 -07:00