Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
BCM4313 driver?
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Kernel & Hardware
View previous topic :: View next topic  
Author Message
The_Great_Sephiroth
Veteran
Veteran


Joined: 03 Oct 2014
Posts: 1367
Location: Fayetteville, NC, USA

PostPosted: Wed Oct 11, 2017 4:47 pm    Post subject: BCM4313 driver? Reply with quote

System Rescue CD shows the drivers loaded as "bcma-pci-bridge" and "bcma". I cannot find these in the kernel. How do I get this card up and going? We bought six small laptops (Lenovo X131e models) and this has me stumped. Once it is up on one I am planning on cloning it to the other five. Also, will I need to specify firmware for this in my kernel since I am building the driver into it? If so, does anybody know what I will need?
_________________
Ever picture systemd as what runs "The Borg"?
Back to top
View user's profile Send private message
NeddySeagoon
Administrator
Administrator


Joined: 05 Jul 2003
Posts: 43387
Location: 56N 3W

PostPosted: Wed Oct 11, 2017 5:10 pm    Post subject: Reply with quote

The_Great_Sephiroth,

That's a cunning broadcom chipset. It has its own PCI bridge.
When yo load the driver for the bridge, you get to see the devices behind the bridge, usually wifi and bluetooth.

So, grepping the kernel
Code:
 /usr/src/linux $ grep -R bcma-pci-bridge ./
./drivers/bcma/host_pci.c:   .name = "bcma-pci-bridge",
shows that you need the code in the file ./drivers/bcma/host_pci.c
bcma is a bit harder because of all the noise, but I'll guess its
Code:
 ./drivers/bcma/main.c:   .name      = "bcma",


The kernel help on BCMA says
Code:
CONFIG_BCMA:                                                                                                                                                                                                                    │ 
  │                                                                                                                                                                                                                                 │ 
  │ Bus driver for Broadcom specific Advanced Microcontroller Bus                                                                                                                                                                   │ 
  │ Architecture.                                                                                                                                                                                                                   │ 
  │                                                                                                                                                                                                                                 │ 
  │ Symbol: BCMA [=m]                                                                                                                                                                                                               │ 
  │ Type  : tristate                                                                                                                                                                                                                │ 
  │ Prompt: BCMA support                                                                                                                                                                                                            │ 
  │   Location:                                                                                                                                                                                                                     │ 
  │     -> Device Drivers                                                                                                                                                                                                           │ 
  │       -> Broadcom specific AMBA                                                                                                                                                                                                 │   


So that's probably a good place to start. The rest is left as an exercise for the reader :)
_________________
Regards,

NeddySeagoon

Computer users fall into two groups:-
those that do backups
those that have never had a hard drive fail.
Back to top
View user's profile Send private message
The_Great_Sephiroth
Veteran
Veteran


Joined: 03 Oct 2014
Posts: 1367
Location: Fayetteville, NC, USA

PostPosted: Thu Oct 12, 2017 3:45 pm    Post subject: Reply with quote

I found that after I posted. The ABMA section is the bridge. The "bcma" option is in the wireless drivers as some kind of soft driver. SoftMAC or something under Broadcom. Either way I got it and just remembered I needed to stop by and update the post. Thanks for your reply, Neddy. That is correct. The solution is to enable what you need under "Broadcom specific ABMA" then got o wireless drivers and enable the SoftMAC option.
_________________
Ever picture systemd as what runs "The Borg"?
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Kernel & Hardware All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum