diff options
author | Denis 'GNUtoo' Carikli <GNUtoo@cyberdimension.org> | 2021-11-25 01:59:58 +0100 |
---|---|---|
committer | Denis 'GNUtoo' Carikli <GNUtoo@cyberdimension.org> | 2021-11-25 02:25:56 +0100 |
commit | 1361c6221d8256edab90ead704e7ea8d1e65b011 (patch) | |
tree | 4f8b2dc86c5189b9cb8eda7d759d8b8e572598e0 /drivers/net/appletalk/cops.h | |
parent | b2a0ea8d882d8d340ae7e905b148f9a2224de290 (diff) | |
download | kernel_replicant_linux-1361c6221d8256edab90ead704e7ea8d1e65b011.tar.gz kernel_replicant_linux-1361c6221d8256edab90ead704e7ea8d1e65b011.tar.bz2 kernel_replicant_linux-1361c6221d8256edab90ead704e7ea8d1e65b011.zip |
Remove binaries that lack corresponding source codedebian/v5.10.70
While the firmwares being removed here are typically
under GPLv2 compatible free software licenses, they lack
corresponding source code, so they are practically speaking
not free software as we lack the source code and/or
toolchains that are required for modifying them.
And Replicant does not want to ship nonfree firmwares
because Replicant is a fully free software Android
distribution.
In addition, Replicant follows the GNU Free System
Distributions Guidelines (FSDG)[1].
And it is also directly supported by the FSF in various
ways[2] (they help with fundraising, we have a virtual
machine in the FSF infrastructure, etc).
So willingly shipping nonfree software (including firmwares)
is completely out of the question.
Since the Replicant 11 kernel is now based on Linux, we can
leverage projects that remove various nonfree firmwares
found in Linux.
Both linux-libre and Debian kernels remove theses nonfree
firmwares. Both linux-libre and Debian have a policy of
not including nonfree software so if there is any nonfree
software found, it's a bug and they need to be removed.
The Replicant steering commitee and the other people present
in the Replicant Contributors Meeting 2019 in Paris (me
included) decided againt blocking the usage of nonfree
firmwares.
Blocking nonfree firmwares is not required by the GNU Free
System Distribution Guidelines (FSDG).
The internal WiFi interface (and also some less important
hardware components) don't work without nonfree firmwares.
On some devices supported by Replicant, like the Galaxy SIII
(GT-I9300) and the Galaxy SIII 4G (GT-I9305), external WiFi
dongles compatible with the ath9k_htc driver do work fine
with a free firmware in Replicant 6.
And Replicant strongly advises its users to use such
WiFi dongles to get WiFi working.
But despite that, many users, by themselves, without any
guidance or instructions from Replicant, still do install
nonfree firmwares to get the internal WiFi working (and
potentially other hardware components too), probably because
external WiFi dongles are not very convenient to use and
consume a lot of battery.
So until we manage to replace the nonfree firmwares with
free firmwares we still need to not block users who still
install nonfree firmwares on their own, knowing that the
firmwares are nonfree and that they don't come from
Replicant at all.
In addition, if a decision to block nonfree firmwares is
taken, we would need to consult people about it and also to
have the Replicant steering have the final word on the
decision as it could potentially have a major impact on
users.
Because of that linux-libre cannot be used as-is.
So it either need to be modified or we need to find another
way to remove the nonfree firmwares.
It turned out difficult to modify linux-libre to remove the
nonfree firmwares without removing the loading of nonfree
firmwares, so here we used the ./debian/bin/genorig.py
Debian script against the kernel_replicant_linux git
repository to generate a linux_5.10.70.orig.tar.xz tarball
that was then used to produce this patch.
I used the Debian Linux repository[3] at the following
commit for that:
commit 12d3fa3c63f642e03da71e173d614ca7d2a844ba (HEAD, tag: debian/5.10.70-1)
Author: Salvatore Bonaccorso <carnil@debian.org>
Date: Thu Sep 30 21:36:41 2021 +0200
Prepare to release linux (5.10.70-1).
References:
-----------
[1]https://www.gnu.org/distros/free-system-distribution-guidelines.html
[2]https://redmine.replicant.us/projects/replicant/wiki/SteeringCommittee
[3]https://salsa.debian.org/kernel-team/linux.git
Signed-off-by: Denis 'GNUtoo' Carikli <GNUtoo@cyberdimension.org>
Diffstat (limited to 'drivers/net/appletalk/cops.h')
-rw-r--r-- | drivers/net/appletalk/cops.h | 61 |
1 files changed, 0 insertions, 61 deletions
diff --git a/drivers/net/appletalk/cops.h b/drivers/net/appletalk/cops.h deleted file mode 100644 index 7a0bfb351929..000000000000 --- a/drivers/net/appletalk/cops.h +++ /dev/null @@ -1,61 +0,0 @@ -/* SPDX-License-Identifier: GPL-2.0 */ -/* cops.h: LocalTalk driver for Linux. - * - * Authors: - * - Jay Schulist <jschlst@samba.org> - */ - -#ifndef __LINUX_COPSLTALK_H -#define __LINUX_COPSLTALK_H - -#ifdef __KERNEL__ - -/* Max LLAP size we will accept. */ -#define MAX_LLAP_SIZE 603 - -/* Tangent */ -#define TANG_CARD_STATUS 1 -#define TANG_CLEAR_INT 1 -#define TANG_RESET 3 - -#define TANG_TX_READY 1 -#define TANG_RX_READY 2 - -/* Dayna */ -#define DAYNA_CMD_DATA 0 -#define DAYNA_CLEAR_INT 1 -#define DAYNA_CARD_STATUS 2 -#define DAYNA_INT_CARD 3 -#define DAYNA_RESET 4 - -#define DAYNA_RX_READY 0 -#define DAYNA_TX_READY 1 -#define DAYNA_RX_REQUEST 3 - -/* Same on both card types */ -#define COPS_CLEAR_INT 1 - -/* LAP response codes received from the cards. */ -#define LAP_INIT 1 /* Init cmd */ -#define LAP_INIT_RSP 2 /* Init response */ -#define LAP_WRITE 3 /* Write cmd */ -#define DATA_READ 4 /* Data read */ -#define LAP_RESPONSE 4 /* Received ALAP frame response */ -#define LAP_GETSTAT 5 /* Get LAP and HW status */ -#define LAP_RSPSTAT 6 /* Status response */ - -#endif - -/* - * Structure to hold the firmware information. - */ -struct ltfirmware -{ - unsigned int length; - const unsigned char *data; -}; - -#define DAYNA 1 -#define TANGENT 2 - -#endif |