Step 2: Clone the Repository

To get the full kernel source, including the files for the specific version, you’ll need to clone the repository from the Git link you provided.

Run the following command to clone the repository:

git clone https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git

This will download the entire Linux kernel source into a folder named linux in your current working directory. Step 3: Check Out the Specific Branch/Tag

After cloning the repository, change into the directory and checkout the specific branch/tag v6.14-rc2, as per the URL you provided.

cd linux git checkout v6.14-rc2

Step 4: Navigate to the Desired Subdirectory

Now, you can navigate directly to the directory where the source for ice driver is located:

cd drivers/net/ethernet/intel/ice

This works exactly the same way for the CIQ Kernel Source Tree for Rocky Linux here: https://github.com/ctrliq/kernel-src-tree

Updated: