# Generated by Makefile.  Do not edit.

commit 646becf (tag: r2.1.8)
Author: Ian Abbott <abbotti@mev.co.uk>
Date:   2025-11-19 13:34:05 +0000

    Release 2.1.8

NEWS
configure.ac

commit ac52cf6
Author: Ian Abbott <abbotti@mev.co.uk>
Date:   2025-11-19 11:36:04 +0000

    driver/kcompat.h: Try and avoid division by zero warning in jiffies_to_usecs()
    
    In the kernel compatibility definition of jiffies_to_usecs(), HZ will be
    less than USEC_PER_SEC (10000000), and gcc emits a "division by zero"
    warning when dividing by (HZ / USEC_PER_SEC) if HZ is a constant,
    although the code where the division occurs is unreachable if HZ <=
    USEC_PER_SEC.  Use a temporary variable set to HZ / USEC_PER_SEC to
    avoid the gcc warning.

driver/kcompat.h

commit d0af333
Author: Ian Abbott <abbotti@mev.co.uk>
Date:   2025-11-19 11:28:10 +0000

    driver/kcompat.h: Fix <linux/kref.h> for kernels 2.6.[5-8]
    
    Include <linux/kref.h> for kernel versions 2.6.5 and later.

driver/kcompat.h

commit 04f94ee (tag: r2.1.7)
Author: Ian Abbott <abbotti@mev.co.uk>
Date:   2025-11-13 15:10:22 +0000

    Release 2.1.7

NEWS
configure.ac

commit ede1d82
Author: Ian Abbott <abbotti@mev.co.uk>
Date:   2025-11-13 14:49:03 +0000

    configure.ac: Add calls to more kernel compatibility test functions
    
    Add call to AC_LINUX_CHECK_REQUEST_FIRMWARE_NOWAIT_HAS_GFP() and
    conditionally define KCOMPAT_REQUEST_FIRMWARE_NOWAIT_HAS_GFP to 1 if the
    test passes.
    
    Add call to AC_LINUX_CHECK_HAVE_GENERIC_BOOL_TYPE and conditionally
    define KCOMPAT_HAVE_GENERIC_BOOL_TYPE to 1 if the test passes.  The
    defined macros are used by "kcompat.h".

configure.ac

commit 5e172d1
Author: Ian Abbott <abbotti@mev.co.uk>
Date:   2025-11-13 13:39:32 +0000

    acinclude.m4: Add AC_CHECK_HAVE_GENERIC_BOOL_TYPE()
    
    New autoconf macro to check if '<linux/types.h>' defines a 'bool' type.
    Required for some Red Hat 2.6.18 kernels due to the type being
    back-ported from the 2.6.19 kernel by Red Hat.

acinclude.m4

commit 38a7a1e
Author: Ian Abbott <abbotti@mev.co.uk>
Date:   2025-11-13 11:35:07 +0000

    driver/kcompat.h: Use KCOMPAT_HAVE_GENERIC_BOOL_TYPE to add bool support
    
    The bool type was defined by <linux/types.h> in the vanilla Linux 2.6.19
    kernel, but was also back-ported by Red Hat for RHEL 5 2.6.18 kernels.
    
    Allow KCOMPAT_HAVE_GENERIC_BOOL_TYPE to be defined before "kcompat.h" is
    included to indicate that the bool type exists.  If
    KCOMPAT_HAVE_GENERIC_BOOL_TYPE is not already defined, have "kcompat.h"
    define it for kernel version 2.6.19 or later.
    
    "kcompat.h" conditionally defines a bool type (possibly without the C99
    _Bool semantics) for kernel versions prior to 2.6.19.  Change that to
    conditionally define a bool type if KCOMPAT_HAVE_GENERIC_BOOL_TYPE is
    not defined (either externally, or within "kcompat.h").  This avoids
    redeclaration of the bool type, which is not supported before C11.

driver/kcompat.h

commit 1cfa442 (tag: r2.1.6)
Author: Ian Abbott <abbotti@mev.co.uk>
Date:   2025-11-12 10:46:26 +0000

    Release 2.1.6

NEWS
configure.ac

commit e861bc1
Author: Ian Abbott <abbotti@mev.co.uk>
Date:   2025-11-11 18:44:59 +0000

    driver/plx905x.c: Define PLX905X_STATUS_DEVNAME_REGISTERED 0
    
    This is needed when compiling for older kernels with devfs support.  It
    is used to record when the device name has been successfully registered
    with devfs.

driver/plx905x.c

commit d8714fd
Author: Ian Abbott <abbotti@mev.co.uk>
Date:   2025-11-11 18:32:41 +0000

    driver/plx905x.c: Support reading PCI revision for kernels < 2.6.23
    
    If KCOMPAT_PCI_HAVE_PCI_DEV_REVISION was not defined by "kcompat_pci.h",
    then struct pci_dev does not have a revision member.  In that case, call
    pci_read_config_byte() to read the revision from the PCI device's
    configuration space.  Note that KCOMPAT_PCI_HAVE_PCI_DEV_REVISION is
    defined for kernel version 2.6.23 and later.

driver/plx905x.c

commit ff944d8
Author: Ian Abbott <abbotti@mev.co.uk>
Date:   2025-11-11 18:27:57 +0000

    driver/plx905x.c: Correct the 'slot' module parameter
    
    The MODULE_PARM_DESC() macro call for the 'slot' parameter used the name
    'bus' by mistake.  Correct it.

driver/plx905x.c

commit 6def8cb
Author: Ian Abbott <abbotti@mev.co.uk>
Date:   2025-11-11 18:22:50 +0000

    configure.ac: Disable maintainer-mode by default
    
    It can be enabled by running the ./configure script with the
    --enable-maintainer-mode option.

configure.ac

commit eb11a7d
Author: Ian Abbott <abbotti@mev.co.uk>
Date:   2025-11-11 16:31:44 +0000

    driver/kcompat_pci.h: Define KCOMPAT_PCI_HAVE_PCI_DEV_REVISION for kernel >= 2.6.23
    
    Kernel version 2.6.23 has the `revision` member in `struct pci_dev`
    containing the revision field read from the device's PCI type 1
    configuration header.  Define the `KCOMPAT_PCI_HAVE_PCI_DEV_REVISION`
    macro if this is the case.  If undefined, drivers will need to read from
    the PCI configuration space themselves to determine the revision.

driver/kcompat_pci.h

commit 5556e3b
Author: Ian Abbott <abbotti@mev.co.uk>
Date:   2025-11-11 15:19:59 +0000

    driver/kcompat.h: Add typedef unsigned long uintptr_t for kernel < 2.6.24

driver/kcompat.h

commit 7e4578b
Author: Ian Abbott <abbotti@mev.co.uk>
Date:   2025-11-11 15:02:04 +0000

    driver/kcompat.h: Add enum { false=0, true=1 }; for kernel < 2.6.19

driver/kcompat.h

commit 07a8345
Author: Ian Abbott <abbotti@mev.co.uk>
Date:   2025-11-11 18:14:24 +0000

    acinclude.m4: Look for Makefile variable anywhere in kernel source path
    
    In AC_PATH_KERNEL_SOURCE(), change the test for source path names that
    look like a Makefile variable to look for a Makefile variable anywhere
    in the path, not just at the start.

acinclude.m4

commit db1453f
Author: Ian Abbott <abbotti@mev.co.uk>
Date:   2025-11-11 10:50:53 +0000

    driver: Define kcompat_access_ok() function
    
    Define kcompat_access_ok() as a static inline function with two
    parameters to be used in place of the two parameter version of
    access_ok() for kernel versions 5.0 and later.  For earlier kernel
    versions, it will call the three parameter version of access_ok() with
    the first parameter always set to VERIFY_WRITE.  This will fail for some
    old 386 processors if the memory is not in fact writable.
    
    Replace calls to access_ok() with calls to kcompat_access_ok() in
    plx905x.c.

driver/kcompat.h
driver/plx905x.c

commit 9e590d9
Author: Ian Abbott <abbotti@mev.co.uk>
Date:   2025-11-10 16:43:18 +0000

    driver/kcompat.h: Fix sg_phys() compatibility function
    
    There is a stray `i` in the sg_phys() compatibility function causing a
    compiler error for kernel versions 2.4.13 to 2.6.23 inclusive.  Fix it.

driver/kcompat.h

commit 4a0e472
Author: Ian Abbott <abbotti@mev.co.uk>
Date:   2025-11-10 16:36:54 +0000

    driver/kcompat.h: Fix set_page_dirty_lock() compatibility
    
    The `set_page_dirty_lock()` compatibility function defined for kerner
    versions prior to 2.5.57 uses the `lock_page()` and `unlock_page()`
    functions.  Add `#include <linux/pagemap.h>` to declare `lock_page()`
    and `unlock_page()`.

driver/kcompat.h

commit dd19bcd
Author: Ian Abbott <abbotti@mev.co.uk>
Date:   2025-11-10 16:10:02 +0000

    driver/kcompat.h: Fix fixed_size_llseek() compatibility
    
    The `SEEK_SET`, `SEEK_CUR`, and `SEEK_END` macros where not defined by
    `#include <linux/fs.h>` until kernel version 2.6.18, which makes our
    `fixed_size_llseek() compatibility function fail to compile for these
    kernel versions.  Fix it by defining the `SEEK_SET`, `SEEK_CUR`, and
    `SEEK_END` macros if they are undefined.

driver/kcompat.h

commit 2aaba14
Author: Ian Abbott <abbotti@mev.co.uk>
Date:   2025-11-10 15:34:44 +0000

    driver/kcompat.h: Change parameter of list_empty() for compatibility
    
    Kernel version 2.6.0 changed the type of the parameter of `list_empty()`
    from `struct list_head *` to `const struct list_head *`.  For earlier
    kernel versions, define `static inline int kcompat_list_empty(const
    struct list_head *head)` and define `list_empty(head)` as a macro that
    calls it.  This will avoid some warnings about discarding qualifiers.

driver/kcompat.h

commit 743e4e7
Author: Ian Abbott <abbotti@mev.co.uk>
Date:   2025-11-10 15:12:09 +0000

    driver/kcompat.h: Change __list_splice() compatibility
    
    In kernel versions prior to 2.6.27, __list_splice() had two parameters,
    being a pointer to the control node of the list to be moved (which is
    assumed to be non-empty) and a pointer to the control node of the target
    list.  In later kernel versions, there are three parameters and the
    pointer to the control node of the target list has been replaced with
    pointers to the nodes either side of where the list is to be inserted.
    
    For kernel versions prior to 2.6.27, define __kcompat_list_splice() with
    three parameters and define __list_splice() as a macro with three
    parameters that calls __kcompat_list_splice().  This is used by our
    compatible versions of list_splice(), list_splice_init(),
    list_splice_tail(), and list_splice_tail_init().

driver/kcompat.h

commit 23bad3e
Author: Ian Abbott <abbotti@mev.co.uk>
Date:   2025-11-10 14:01:55 +0000

    driver/kcompat.h: Fix rbtree compatibility for 2.4 kernels
    
    The kcompat.h header contains two attempts at providing `struct rb_node`
    and `struct rb_root` in place of `rb_node_t` (`struct rb_node_s`) and
    `rb_root_t` (`struct rb_root_s`) for kernel versions 2.4.10 to 2.5.35,
    but they fight each other leading to compilation errors.
    
    Remove the simpler attempt that defined `rb_node` and `rb_root` as
    macros expanding to `rb_node_s` and `rb_root_s`.  That doesn't work
    because `rb_root_t` (`struct rb_root_s`) contains a member called
    `rb_node`, and accesses to that member would attempt to access
    nonexistent member `rb_node_s`.
    
    Keep the more complicated attempt that mirrors the existing `struct
    rb_node_s` and `struct rb_root_s` as `struct rb_node` and `struct
    rb_root`.  This will lead to warnings about use of incompatible pointer
    types, but the code should still work.

driver/kcompat.h

commit 6488767 (tag: r2.1.5)
Author: Ian Abbott <abbotti@mev.co.uk>
Date:   2025-06-19 17:56:16 +0100

    Release 2.1.5

NEWS
configure.ac

commit 40cc100
Author: Ian Abbott <abbotti@mev.co.uk>
Date:   2025-06-19 17:52:07 +0100

    Makefile.am: Omit git branch names from generated ChangeLog

Makefile.am

commit 5f080ae
Author: Ian Abbott <abbotti@mev.co.uk>
Date:   2025-06-19 16:43:35 +0100

    driver/kcompat.h: Fix for RHEL back-port of class_create(name) to kernel 5.14
    
    Change pre-processor tests for redefining `class_create(name)` for
    kernel versions prior to 6.4 due to Red Hat kernel API back-port of the
    6.4 version of `class_create(name)` to later 5.14 RHEL kernels.  If we
    declare `kcompat_class_create(owner, name)` as a function, then also
    define it as a macro of the same name.  For kernel versions prior to 6.4
    but at least 2.6.27, only define `kcompat_class_create(owner, name)` as
    a macro if the `class_create` macro is defined.  Only redefine
    `class_create(name)` as a macro if the kernel version is less than 6.4
    and we have defined `kcompat_class_create` as a macro.

driver/kcompat.h

commit 66d4161
Author: Ian Abbott <abbotti@mev.co.uk>
Date:   2025-06-19 15:31:12 +0100

    driver/kcompat.h: Fix for RHEL back-port of vm_flags API to kernel 5.14
    
    Change pre-processor test for vm_flags API compatibility due to Red Hat
    Linux kernel API back-port, that results in build failures for later
    5.14 RHEL kernels.  The original test was `LINUX_VERSION_CODE <
    KERNEL_VERSION(6,3,0)`.  Append `&& !defined(VM_LOCKED_MASK)` to the
    test.

driver/kcompat.h

commit fe5be9a (tag: r2.1.4)
Author: Ian Abbott <abbotti@mev.co.uk>
Date:   2025-04-07 16:28:49 +0100

    Release 2.1.4

NEWS
configure.ac

commit b9bffda
Author: Ian Abbott <abbotti@mev.co.uk>
Date:   2025-04-07 16:16:22 +0100

    driver/Makefile.kernel: Use ccflags-y, needed for kernel 6.15
    
    Append $(PLX905X_EXTRA_CFLAGS) to both ccflags-y in addition to
    appending it to EXTRA_CFLAGS.  EXTRA_CFLAGS is deprecated and is going
    away in kernel version 6.15.

driver/Makefile.kernel

commit aea465c (tag: r2.1.3)
Author: Ian Abbott <abbotti@mev.co.uk>
Date:   2024-12-03 12:15:14 +0000

    Release 2.1.3

NEWS
configure.ac

commit 0c2b658
Author: Ian Abbott <abbotti@mev.co.uk>
Date:   2024-12-03 12:08:00 +0000

    acinclude.m4: Updated AC_PATH_KERNEL_SOURCE for kernel 6.13
    
    The test used for separate kernel build and source directories for
    kernel version 5.2 onwards was too restrictive and broke for kernel
    version 6.13-rc.  Fix it by removing the initial `grep -cv` test.

acinclude.m4

commit bc7ee49
Author: Ian Abbott <abbotti@mev.co.uk>
Date:   2024-09-26 15:00:58 +0100

    driver/Makefile.am: Do not run depmod if $(DESTDIR) is set
    
    Also, if running `depmod -a` add `$(kernelrelease)` as a command line
    parameter so that the module dependencies are updated for the correct
    kernel.

driver/Makefile.am

commit 10a85b8
Author: Ian Abbott <abbotti@mev.co.uk>
Date:   2024-05-30 18:03:03 +0100

    driver/kcompat.h: Change `do; while(0)` to `do {} while(0)`
    
    Avoid a GCC compiler warning `-Wempty-body`.

driver/kcompat.h

commit 69d487a
Author: Ian Abbott <abbotti@mev.co.uk>
Date:   2024-01-22 19:13:04 +0000

    driver/plx905x.c: Declare plx905x_module_init() and plx905x_module_exit() static
    
    Declare the module initialization and module exit functions as static to
    avoid a -Wmissing-prototypes compiler warning.

driver/plx905x.c

commit 2e5d1a0 (tag: r2.1.2)
Author: Ian Abbott <abbotti@mev.co.uk>
Date:   2023-09-11 12:38:25 +0100

    Release 2.1.2

NEWS
configure.ac

commit 06ffb9a
Author: Ian Abbott <abbotti@mev.co.uk>
Date:   2023-08-29 18:51:45 +0100

    acinclude.m4: Improve detection of separate kernel source and build directory
    
    If the kernel source directory detected from the kernel build directory
    looks like a Makefile variable, ignore it and assume the kernel source
    and build directories are the same.

acinclude.m4

commit 2a42db2
Author: Ian Abbott <abbotti@mev.co.uk>
Date:   2023-08-29 18:51:15 +0100

    acinclude.m4: Change deprecated AC_HELP_STRING to AS_HELP_STRING

acinclude.m4

commit 01d05b7 (tag: r2.1.1)
Author: Ian Abbott <abbotti@mev.co.uk>
Date:   2023-05-11 17:44:01 +0100

    Release 2.1.1

NEWS
configure.ac

commit 76c5ae9
Author: Ian Abbott <abbotti@mev.co.uk>
Date:   2023-05-11 17:43:28 +0100

    driver/plx905x.c: Bump copyright date to 2023

driver/plx905x.c

commit 8e927d9
Author: Ian Abbott <abbotti@mev.co.uk>
Date:   2023-05-11 17:33:43 +0100

    driver/plx905x.c, kcompat.h: Make class_create() compatible with 6.4 kernel
    
    Linux kernel version 6.4 removes the module owner parameter from
    class_create().  Remove the argument from the call during module
    initialization.  Change the kernel compatibility code in "kcompat.h" to
    redefine class_create() with a single parameter, using THIS_MODULE as
    the module owner for kernel versions prior to 6.4.

driver/kcompat.h
driver/plx905x.c

commit 05a9829
Author: Ian Abbott <abbotti@mev.co.uk>
Date:   2023-05-11 17:29:19 +0100

    driver/kcompat_pci.h: Use updated version from MEV
    
    Includes various kernel compatibility changes for kernel versions up to
    6.3 (last change for kernel version 5.18) that do not affect this
    driver.

driver/kcompat_pci.h

commit 1ad9175
Author: Ian Abbott <abbotti@mev.co.uk>
Date:   2023-05-11 17:26:42 +0100

    driver/kcompat.h: Use updated version from MEV
    
    Includes various kernel compatibility changes for kernel versions up to
    6.3 that do not affect this driver.

driver/kcompat.h

commit 104721f
Author: Ian Abbott <abbotti@mev.co.uk>
Date:   2021-07-20 11:42:27 +0100

    driver/kcompat.h: FW_ACTION_HOTPLUG replaced with FW_ACTION_UEVENT in 5.14
    
    Linux kernel 5.14 renames FW_ACTION_HOTPLUG (in
    "include/linux/firmware.h") to FW_ACTION_UEVENT, and renames
    FW_ACTION_NOHOTPLUG to FW_ACTION_NOUEVENT.
    
    This messes up our test for deciding whether to define
    KCOMPAT_REQUEST_FIRMWARE_NOWAIT_HAS_UEVENT that indicates that
    request_firmware_nowait() has a 'hotplug' or 'uevent parameter
    (parameter 2) between the 'module' and 'name' parameters.
    
    If FW_ACTION_HOTPLUG is defined, define the macros FW_ACTION_UEVENT and
    FW_ACTION_NOUEVENT to expand to the old names FW_ACTION_HOTPLUG and
    FW_ACTION_NOHOTPLUG respectively.  Update the test that decides whether
    to define KCOMPAT_REQUEST_FIRMWARE_NOWAIT_HAS_UEVENT to test for
    FW_ACTION_UEVENT (after possibly defining it above).
    
    Client code should be updated to replace FW_ACTION_HOTPLUG with
    FW_ACTION_UEVENT, and to replace FW_ACTION_NOHOTPLUG with
    FW_ACTION_NOUEVENT.

driver/kcompat.h

commit 2e604b5
Author: Ian Abbott <abbotti@mev.co.uk>
Date:   2021-07-20 11:38:59 +0100

    driver/plx905x.c: Use 'fallthrough;'
    
    Use the `fallthrough;` statement to mark deliberate fall-through between
    `case`/`default` labels in a `switch` statement.  Keep the existing
    special comment that also marks the fall-through to avoid warnings when
    building for kernels prior to 5.14.

driver/plx905x.c

commit 3c747b0
Author: Ian Abbott <abbotti@mev.co.uk>
Date:   2021-07-19 17:24:56 +0100

    driver/kcompat.h: Use MEV's latest version - defines 'fallthrough' macro
    
    Linux kernel version 5.14 expects code that falls through to a 'case' or
    'default' label in a switch statement to use the 'fallthrough;'
    statement to avoid a warning.  The special comment contents no longer
    work.  The 'fallthrough' macro was first defined in kernel version 5.4.
    Add a dummy macro if it is missing.
    
    Code should use 'fallthrough;' and a special comment on the following
    line to avoid '-Wimplicit-fallthrough' warnings on all kernel versions.

driver/kcompat.h

commit 4658438 (tag: r2.1)
Author: Ian Abbott <abbotti@mev.co.uk>
Date:   2021-03-19 14:36:47 +0000

    Release 2.1

NEWS
configure.ac

commit 7284a5a
Author: Ian Abbott <abbotti@mev.co.uk>
Date:   2021-03-19 14:20:18 +0000

    driver/kcompat.h: Use MEV's latest version
    
    Previously, the `KCOMPAT_HAVE_CLASS_ATTR` macro was only defined if the
    `CLASS_ATTR()` macro exists, but `CLASS_ATTR()` was removed in kernel
    4.13.  Now, define the `KCOMPAT_HAVE_CLASS_ATTR` if either the
    `CLASS_ATTR()` macro or the `CLASS_ATTR_RO()` macro is defined.
    
    This change does not affect the plx905x driver.

driver/kcompat.h

commit 0ad312f
Author: Ian Abbott <abbotti@mev.co.uk>
Date:   2021-03-19 13:45:13 +0000

    driver/plx905x.c: Fix EEPROM access for PCI9056
    
    For the PLX PCI9056, bit 31 of the CNTRL register needs to be
    manipulated in the same way as for the PCI9656 to avoid contention on
    the multiplexed EEDI/EEDO bus.   Change the initialization of
    `plx905x_device.cntrl_eemask` for PCI9056 to be the same as is used for
    PCI9656.
    
    Also, rename the macro PLX9656_EEMASK to PLX9056_EEMASK.  It expands to
    the `plx905x_device.cntrl_eemask` value for PCI9056 and PCI9656.

driver/plx905x.c

commit f37bf2b
Author: Ian Abbott <abbotti@mev.co.uk>
Date:   2021-03-19 13:22:07 +0000

    driver/plx905x.c: Bump copyright year to 2021

driver/plx905x.c

commit fabcb65
Author: Ian Abbott <abbotti@mev.co.uk>
Date:   2021-03-19 13:20:12 +0000

    driver/plx905x.c: Correct contact details
    
    Correct the postcode in the postal address, and change the web-site URL
    to use https.

driver/plx905x.c

commit 5329944
Author: Ian Abbott <abbotti@mev.co.uk>
Date:   2021-03-19 13:14:35 +0000

    driver/plx905x.c: Fix detection of PCI 9056 and PCI 9656
    
    The PCI 9056 and PCI 9656 have a BAR0 size of 512, but the driver
    currently checks for either 256 or 128, so reports the PCI device as
    "Not PLX".  Add a check for a BAR0 size of 512 to fix it.

driver/plx905x.c

commit 33be881
Author: Ian Abbott <abbotti@mev.co.uk>
Date:   2020-10-19 11:00:08 +0100

    driver/Makefile.am: Clean *.mod

driver/Makefile.am

commit 4d97bd0
Author: Ian Abbott <abbotti@mev.co.uk>
Date:   2020-10-19 10:58:18 +0100

    .gitignore: Ignore *.mod

.gitignore

commit 44fd599 (tag: r2.0.1)
Author: Ian Abbott <abbotti@mev.co.uk>
Date:   2020-10-18 16:26:08 +0100

    Release 2.0.1

NEWS
configure.ac

commit 2c4cd19
Author: Ian Abbott <abbotti@mev.co.uk>
Date:   2020-10-18 16:22:41 +0100

    acinclude.mk: Update AC_PATH_KERNEL_SOURCE for kernel version 5.2
    
    The test for separate Linux source and build directory broke for kernel
    version 5.2.  Add an additional check after the existing tests have
    failed to derive a Linux source directory from the Linux build
    directory's Makefile.  The additional check checks that the Makefile
    consists of optional blank and comment lines and a single 'include' line
    to include the source directory's Makefile.  Extract the Linux source
    directory from the 'include' line.

acinclude.m4

commit ecdfb61
Author: Ian Abbott <abbotti@mev.co.uk>
Date:   2020-10-18 16:16:46 +0100

    driver/plx905x.c: Add #include <asm/io.h>
    
    The '#include <asm/io.h>' is already done by '#include "kcompat.h"', but
    also include it explicitly since we use functions declared there.

driver/plx905x.c

commit 689d7a5
Author: Ian Abbott <abbotti@mev.co.uk>
Date:   2020-10-18 14:45:32 +0100

    driver/kcompat.h: Use MEV's latest version
    
    Ensure that HAVE_COMPAT_IOCTL and HAVE_UNLOCKED_IOCTL remain defined for
    kernel version 5.9 and beyond.
    
    Define mmiowb() to do nothing if not already defined.  It was removed in
    kernel 5.2.
    
    Remove some duplicated rbtree compatibility code.

driver/kcompat.h

commit b78c6f0
Author: Ian Abbott <abbotti@mev.co.uk>
Date:   2020-10-18 14:28:54 +0100

    driver: Change a "fall through" comment
    
    Re-word a "fall through" command in a 'switch' statement to avoid a
    '-Wimplicit-fallthrough' warning.

driver/plx905x.c

commit 64b999d
Author: Ian Abbott <abbotti@mev.co.uk>
Date:   2020-10-18 14:08:57 +0100

    driver: Replace call to ioremap_nocache() (removed in Linux 5.6)
    
    ioremap_nocache() was removed in Linux kernel version 5.6, so call
    ioremap() instead, which does exactly the same thing.

driver/plx905x.c

commit f3db043
Author: Ian Abbott <abbotti@mev.co.uk>
Date:   2019-04-18 11:21:02 +0100

    driver/kcompat.h: Add missing newline to end of file

driver/kcompat.h

commit 9295408
Author: Ian Abbott <abbotti@mev.co.uk>
Date:   2019-04-11 10:45:00 +0100

    README.md: Add details of Git repository

README.md

commit d456339
Author: Ian Abbott <abbotti@mev.co.uk>
Date:   2019-04-11 10:27:45 +0100

    README.md: Whitespace changes

README.md

commit 6798921
Author: Ian Abbott <abbotti@mev.co.uk>
Date:   2019-04-10 16:05:44 +0100

    README.md: Add '...' to modprobe example to indicate multiple parameters.

README.md

commit 40003a1
Author: Ian Abbott <abbotti@mev.co.uk>
Date:   2019-04-10 16:03:28 +0100

    driver/Makefile.am: Remove duplicate 'M=' parameter.

driver/Makefile.am

commit ea8d515 (tag: r2.0)
Author: Ian Abbott <abbotti@mev.co.uk>
Date:   2019-04-10 15:16:11 +0100

    Release 2.0

NEWS
configure.ac

commit 38d381b
Author: Ian Abbott <abbotti@mev.co.uk>
Date:   2019-04-10 15:09:15 +0100

    README: Update README and convert to README.md in Markdown format

Makefile.am
README
README.md

commit e5f74f8
Author: Ian Abbott <abbotti@mev.co.uk>
Date:   2019-04-10 15:06:40 +0100

    driver: Ignore 'instance' if 'bus' or 'slot' specified.

driver/plx905x.c

commit 1c9fdf0
Author: Ian Abbott <abbotti@mev.co.uk>
Date:   2019-04-10 13:30:51 +0100

    Add .gitignore to distributed tarballs

Makefile.am

commit 4f7f7ae
Author: Ian Abbott <abbotti@mev.co.uk>
Date:   2019-04-10 13:28:33 +0100

    Preserved old ChangeLog as ChangeLog-1.xx
    
    The new ChangeLog is just a dummy whose contents will be replaced with
    the git log when the distribution tarballs are built.

ChangeLog
ChangeLog-1.xx
Makefile.am

commit 89a1a84
Author: Ian Abbott <abbotti@mev.co.uk>
Date:   2019-04-10 13:24:48 +0100

    Remmoved MANIFEST

MANIFEST

commit e2a3747
Author: Ian Abbott <abbotti@mev.co.uk>
Date:   2019-04-10 13:22:00 +0100

    Add .gitignore
    
    The .gitignore is for the .git repository and not added to the
    distributed tarballs.

.gitignore

commit 8806d0c
Author: Ian Abbott <abbotti@mev.co.uk>
Date:   2019-04-10 13:12:40 +0100

    Revamped project for more modern kernels
    
    Major revamp for building on modern kernels, and to make use of
    SysFS/UDEV or DevFS for creating the "/dev/plx905x" file automatically
    for non-static "/dev".
    
    Now uses a ./configure script and Makefiles generated by Autotools.

AUTHORS
Makefile
Makefile.alpha
Makefile.am
Makefile.arm
Makefile.ia64
Makefile.m68k
Makefile.mips
Makefile.ppc
Makefile.sparc
Makefile.sparc64
NEWS
acinclude.m4
autogen.sh
configure.ac
dkms.conf.in
driver/Makefile.am
driver/Makefile.kernel
driver/kcompat.h
driver/kcompat_pci.h
driver/plx905x.c

commit db33835 (tag: r1.04)
Author: Ian Abbott <abbotti@mev.co.uk>
Date:   2019-04-09 13:36:07 +0100

    Release 1.04
    
    ChangeLog entries:
    
    2003-01-31  Ian Abbott  <ian.abbott@mev.co.uk>
    
            * Release 1.04
    
    2003-01-31  Ian Abbott  <ian.abbott@mev.co.uk>
    
            * plx905x_main.c (plx905x_module_init): Corrected PCI9030 detection.
            Local configuration register area was tested for the wrong size.  The
            correct size is 128 (as for PCI9050), not 256 (as for PCI9054).  As a
            result, a test has been added to distinguish PCI9030 from PCI9050 and
            PCI9052 and various bits of code have been moved around.  Also, the
            PCI9052 is now reported as revision 1, rather than revision 2.
    
            * README: Updated as PCI9030 has now been tested.  Also, the 'plx'
            module parameter no longer needs to be set for the PCI9030 to be
            distinguished from other supported chips.

ChangeLog
README
plx905x_main.c

commit 02c8b37 (tag: r1.03)
Author: Ian Abbott <abbotti@mev.co.uk>
Date:   2019-04-09 13:35:19 +0100

    Release 1.03
    
    ChangeLog entries:
    
    2002-11-13  Ian Abbott  <ian.abbott@mev.co.uk>
    
            * Release 1.03
    
    2002-11-13  Ian Abbott  <ian.abbott@mev.co.uk>
    
            * README: Removed a redundant (and misleading) paragraph.
    
    2002-10-31  Ian Abbott  <ian.abbott@mev.co.uk>
    
            * plx905x_main.c (plx905x_module_init): Added check for PLX PCI9060ES
            and PCI9060DS.  Relaxed the check for PCI9060 when the 'plx' parameter
            is used, as the PCI9060 sometimes has 0 in its hardware ID register.
            N.B. support for PCI9060 is still untested.

ChangeLog
README
plx905x_main.c

commit 1b2ba7a (tag: r1.02)
Author: Ian Abbott <abbotti@mev.co.uk>
Date:   2019-04-09 13:33:29 +0100

    Release 1.02
    
    ChangeLog entries:
    
    2002-10-28  Ian Abbott  <ian.abbott@mev.co.uk>
    
            * Release 1.02
    
    2002-10-28  Ian Abbott  <ian.abbott@mev.co.uk>
    
            * plx905x_main.c: Added a module parameter 'plx' to specify the type
            of PLX chip manually.  This affects the device type to search for when
            the vendor and device IDs are not specified, and is also checked
            against fixed register values for certain PLX chips.
    
            * plx905x_main.c: Added provisional support for PLX PCI9030.  The new
            'plx' module parameter must be used.  This is untested.
    
            * README: Updated documentation to reflect the above changes.

ChangeLog
Makefile
README
plx905x_main.c

commit fcb78f7 (tag: r1.01)
Author: Ian Abbott <abbotti@mev.co.uk>
Date:   2019-04-09 13:32:42 +0100

    Release 1.01
    
    ChangeLog entries:
    
    2002-10-24  Ian Abbott  <ian.abbott@mev.co.uk>
    
            * Release 1.01
    
    2002-10-24  Ian Abbott  <ian.abbott@mev.co.uk>
    
            * plx905x_main.c: Renamed plx9050_main.c.  Changed name of module
            to plx905x.  Added copyright, licensing and contact information.
    
            * Makefile: Changes due to renamed files and module.  Added copyright,
            licensing and contact information.
    
    2002-10-08  Ian Abbott  <ian.abbott@mev.co.uk>
    
            * plx9050_main.c: Added support for PLX PCI9054.

COPYING
ChangeLog
MANIFEST
Makefile
Makefile.alpha
Makefile.arm
Makefile.ia64
Makefile.m68k
Makefile.mips
Makefile.ppc
Makefile.sparc
Makefile.sparc64
README
plx905x_main.c

commit 5d0431d
Author: Ian Abbott <abbotti@mev.co.uk>
Date:   2019-04-09 13:31:00 +0100

    Initial empty commit
