Skip to content

Commit

Permalink
Update for RHEL 8.10: kmods with spec and source code update
Browse files Browse the repository at this point in the history
Signed-off-by: Akemi Yagi <[email protected]>
  • Loading branch information
toracat committed May 25, 2024
1 parent 2924a6f commit 9fe59d7
Show file tree
Hide file tree
Showing 46 changed files with 6,807 additions and 543 deletions.
8 changes: 6 additions & 2 deletions be2net-kmod/el8/be2net-kmod.spec
Original file line number Diff line number Diff line change
Expand Up @@ -2,13 +2,13 @@
%define kmod_name be2net

# If kmod_kernel_version isn't defined on the rpmbuild line, define it here.
%{!?kmod_kernel_version: %define kmod_kernel_version 4.18.0-513.5.1.el8_9}
%{!?kmod_kernel_version: %define kmod_kernel_version 4.18.0-553.el8_10}

%{!?dist: %define dist .el8}

Name: kmod-%{kmod_name}
Version: 12.0.0.0
Release: 13%{?dist}
Release: 14%{?dist}
Summary: %{kmod_name} kernel module(s)
Group: System Environment/Kernel
License: GPLv2
Expand Down Expand Up @@ -187,6 +187,10 @@ exit 0
%doc /usr/share/doc/kmod-%{kmod_name}-%{version}/

%changelog
* Wed May 22 2024 Akemi Yagi <[email protected]> - 12.0.0.0-14
- Rebuilt for RHEL 8.10
- Source code updated from RHEL kernel-4.18.0-553.el8_10

* Sun Nov 19 2023 Philip J Perry <[email protected]> - 12.0.0.0-13
- Rebuilt against el8.9 GA kernel-4.18.0-513.5.1.el8_9
- Source code from el8.9 GA kernel-4.18.0-513.5.1.el8_9
Expand Down
9 changes: 0 additions & 9 deletions be2net-kmod/el8/be_main.c
Original file line number Diff line number Diff line change
Expand Up @@ -63,13 +63,6 @@ static const struct pci_device_id be_dev_ids[] = {
};
MODULE_DEVICE_TABLE(pci, be_dev_ids);

static const struct pci_device_id be_deprecated_dev_ids[] = {
#ifdef CONFIG_BE2NET_LANCER
{ PCI_DEVICE(EMULEX_VENDOR_ID, OC_DEVICE_ID3)},
#endif /* CONFIG_BE2NET_LANCER */
{ 0 }
};

/* Workqueue used by all functions for defering cmd calls to the adapter */
static struct workqueue_struct *be_wq;

Expand Down Expand Up @@ -5829,8 +5822,6 @@ static int be_probe(struct pci_dev *pdev, const struct pci_device_id *pdev_id)
struct net_device *netdev;
int status = 0;

pci_hw_deprecated(be_deprecated_dev_ids, pdev);

dev_info(&pdev->dev, "%s version is %s\n", DRV_NAME, DRV_VER);

status = pci_enable_device(pdev);
Expand Down
8 changes: 6 additions & 2 deletions floppy-kmod/el8/floppy-kmod.spec
Original file line number Diff line number Diff line change
Expand Up @@ -2,13 +2,13 @@
%define kmod_name floppy

# If kmod_kernel_version isn't defined on the rpmbuild line, define it here.
%{!?kmod_kernel_version: %define kmod_kernel_version 4.18.0-513.5.1.el8_9}
%{!?kmod_kernel_version: %define kmod_kernel_version 4.18.0-553.el8_10}

%{!?dist: %define dist .el8}

Name: kmod-%{kmod_name}
Version: 0.0
Release: 2%{?dist}
Release: 3%{?dist}
Summary: %{kmod_name} kernel module(s)
Group: System Environment/Kernel
License: GPLv2
Expand Down Expand Up @@ -187,6 +187,10 @@ exit 0
%doc /usr/share/doc/kmod-%{kmod_name}-%{version}/

%changelog
* Thu May 23 2024 Akemi Yagi <[email protected]> - 0.0-3
- Rebuilt for RHEL 8.10
- Source code updated from RHEL kernel-4.18.0-553.el8_10

* Sun Nov 19 2023 Tuan Hoang <[email protected]> - 0.0-2
- Rebuilt against RHEL 8.9 GA kernel
- Source code from kernel-4.18.0-513.5.1.el8_9
Expand Down
Loading

0 comments on commit 9fe59d7

Please sign in to comment.