Changeset View
Changeset View
Standalone View
Standalone View
comms/opencbm-kmod/files/patch-compat-freebsd-14
- This file was moved from comms/opencbm/files/patch-opencbm_sys_freebsd_opencbm.c.
--- opencbm/sys/freebsd/opencbm.c.orig 2022-05-13 16:48:06 UTC | From 6e438c1b32d39e5238f65246e192c89b22fdfd82 Mon Sep 17 00:00:00 2001 | ||||
+++ opencbm/sys/freebsd/opencbm.c | From: John Baldwin <jhb@FreeBSD.org> | ||||
Date: Fri, 20 May 2022 17:10:09 +0000 | |||||
Subject: [PATCH] FreeBSD kernel driver: compat with 14-CURRENT | |||||
In 14-CURRENT (upcoming major release), there was a slight change to the | |||||
driver API at version 1400058. | |||||
Add conditional code to retain compatibility. | |||||
--- opencbm.c.orig 2022-01-22 22:01:25 UTC | |||||
+++ opencbm.c | |||||
@@ -133,8 +133,6 @@ static struct cdevsw cbm_cdevsw = { | @@ -133,8 +133,6 @@ static struct cdevsw cbm_cdevsw = { | ||||
.d_name = CBM_NAME | .d_name = CBM_NAME | ||||
}; | }; | ||||
-static devclass_t cbm_devclass; | -static devclass_t cbm_devclass; | ||||
- | - | ||||
/* forward references for parallel burst routines */ | /* forward references for parallel burst routines */ | ||||
int cbm_parallel_burst_read_track(struct cbm_data *sc, device_t ppbus, | int cbm_parallel_burst_read_track(struct cbm_data *sc, device_t ppbus, | ||||
Show All 15 Lines |