# Generated by Makefile.  Do not edit.

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
