Port Linux Driver

2008-11-16 Thread weinter.lim

Hi 
I have posted

I am installing FreeBSD 7.1 Beta 2 on my laptop model Acer Aspire 4530
1) Atheros AR5B91 is not detected
Does anyone know how to get the drivers or patch it

[EMAIL PROTECTED]:0:0:0: class=0x05 card=0x014a1025 chip=0x075410de rev=0xa2
hdr=0x00
vendor = 'Nvidia Corp'
class  = memory
subclass   = RAM
[EMAIL PROTECTED]:0:1:0: class=0x060100 card=0x014a1025 chip=0x075e10de rev=0xa2
hdr=0x00
vendor = 'Nvidia Corp'
class  = bridge
subclass   = PCI-ISA
[EMAIL PROTECTED]:0:1:1: class=0x0c0500 card=0x014a1025 chip=0x075210de rev=0xa1
hdr=0x00
vendor = 'Nvidia Corp'
class  = serial bus
subclass   = SMBus
[EMAIL PROTECTED]:0:1:3: class=0x0b4000 card=0x014a1025 chip=0x075310de rev=0xa2
hdr=0x00
vendor = 'Nvidia Corp'
class  = processor
[EMAIL PROTECTED]:0:1:4: class=0x05 card=0x014a1025 chip=0x056810de rev=0xa1
hdr=0x00
vendor = 'Nvidia Corp'
class  = memory
subclass   = RAM
[EMAIL PROTECTED]:0:2:0: class=0x0c0310 card=0x014a1025 chip=0x077b10de rev=0xa1
hdr=0x00
vendor = 'Nvidia Corp'
class  = serial bus
subclass   = USB
[EMAIL PROTECTED]:0:2:1: class=0x0c0320 card=0x014a1025 chip=0x077c10de rev=0xa1
hdr=0x00
vendor = 'Nvidia Corp'
class  = serial bus
subclass   = USB
[EMAIL PROTECTED]:0:4:0: class=0x0c0310 card=0x014a1025 chip=0x077d10de rev=0xa1
hdr=0x00
vendor = 'Nvidia Corp'
class  = serial bus
subclass   = USB
[EMAIL PROTECTED]:0:4:1: class=0x0c0320 card=0x014a1025 chip=0x077e10de rev=0xa1
hdr=0x00
vendor = 'Nvidia Corp'
class  = serial bus
subclass   = USB
[EMAIL PROTECTED]:0:7:0: class=0x040300 card=0x014a1025 chip=0x077410de rev=0xa1
hdr=0x00
vendor = 'Nvidia Corp'
class  = multimedia
[EMAIL PROTECTED]:0:8:0: class=0x060401 card=0x014a1025 chip=0x075a10de rev=0xa1
hdr=0x01
vendor = 'Nvidia Corp'
class  = bridge
subclass   = PCI-PCI
[EMAIL PROTECTED]:0:9:0: class=0x010601 card=0x014a1025 chip=0x0ad510de rev=0xa2
hdr=0x00
vendor = 'Nvidia Corp'
class  = mass storage
[EMAIL PROTECTED]:0:11:0: class=0x060400 card=0x10de chip=0x056910de 
rev=0xa1
hdr=0x01
vendor = 'Nvidia Corp'
class  = bridge
subclass   = PCI-PCI
[EMAIL PROTECTED]:0:19:0: class=0x060400 card=0x10de chip=0x077a10de 
rev=0xa1
hdr=0x01
vendor = 'Nvidia Corp'
class  = bridge
subclass   = PCI-PCI
[EMAIL PROTECTED]:0:20:0: class=0x060400 card=0x10de chip=0x077a10de 
rev=0xa1
hdr=0x01
vendor = 'Nvidia Corp'
class  = bridge
subclass   = PCI-PCI
[EMAIL PROTECTED]:0:21:0: class=0x060400 card=0x10de chip=0x077a10de 
rev=0xa1
hdr=0x01
vendor = 'Nvidia Corp'
class  = bridge
subclass   = PCI-PCI
[EMAIL PROTECTED]:0:24:0: class=0x06 card=0x chip=0x13001022 
rev=0x40
hdr=0x00
vendor = 'Advanced Micro Devices (AMD)'
device = '(Family 11h) Athlon 64/Opteron/Sempron HyperTransport
Technology Configuration'
class  = bridge
subclass   = HOST-PCI
[EMAIL PROTECTED]:0:24:1: class=0x06 card=0x chip=0x13011022 
rev=0x00
hdr=0x00
vendor = 'Advanced Micro Devices (AMD)'
device = '(Family 11h) Athlon 64/Opteron/Sempron Address Map'
class  = bridge
subclass   = HOST-PCI
[EMAIL PROTECTED]:0:24:2: class=0x06 card=0x chip=0x13021022 
rev=0x00
hdr=0x00
vendor = 'Advanced Micro Devices (AMD)'
device = '(Family 11h) Athlon 64/Opteron/Sempron DRAM Controller'
class  = bridge
subclass   = HOST-PCI
[EMAIL PROTECTED]:0:24:3: class=0x06 card=0x chip=0x13031022 
rev=0x00
hdr=0x00
vendor = 'Advanced Micro Devices (AMD)'
device = '(Family 11h) Athlon 64/Opteron/Sempron Miscellaneous
Control'
class  = bridge
subclass   = HOST-PCI
[EMAIL PROTECTED]:0:24:4: class=0x06 card=0x chip=0x13041022 
rev=0x00
hdr=0x00
vendor = 'Advanced Micro Devices (AMD)'
device = '(Family 11h) Athlon 64/Opteron/Sempron Link Control'
class  = bridge
subclass   = HOST-PCI
[EMAIL PROTECTED]:2:0:0: class=0x03 card=0x014a1025 chip=0x084410de rev=0xa2
hdr=0x00
vendor = 'Nvidia Corp'
class  = display
subclass   = VGA
[EMAIL PROTECTED]:8:0:0: class=0x02 card=0x014a1025 chip=0x168414e4 rev=0x10
hdr=0x00
vendor = 'Broadcom Corporation'
class  = network
subclass   = ethernet
[EMAIL PROTECTED]:11:0:0: class=0x028000 card=0x03031a32 chip=0x002a168c 
rev=0x01
hdr=0x00
vendor = 'Atheros Communications Inc.'
class  = network

I have found the Linux driver here
http://wireless.kernel.org/en/users/Drivers/ath9k 
Anyone can advice me to port the driver over to BSD ?

-- 
View this message in context: 
http://www.nabble.com/Port-Linux-Driver-tp20523992p20523992.html
Sent from the freebsd-questions mailing list archive

Re: Port Linux Driver

2008-11-16 Thread Jeremy Chadwick
On Sun, Nov 16, 2008 at 02:35:07AM -0800, weinter.lim wrote:
 Hi 
 I have posted
 
 I am installing FreeBSD 7.1 Beta 2 on my laptop model Acer Aspire 4530
 1) Atheros AR5B91 is not detected
 Does anyone know how to get the drivers or patch it

 [EMAIL PROTECTED]:11:0:0: class=0x028000 card=0x03031a32 chip=0x002a168c 
 rev=0x01
 hdr=0x00
 vendor = 'Atheros Communications Inc.'
 class  = network
 
 I have found the Linux driver here
 http://wireless.kernel.org/en/users/Drivers/ath9k 
 Anyone can advice me to port the driver over to BSD ?

You posted something similar to -hardware about your Broadcom NIC and
got responses, so I'm not sure why you decided to go with -questions
this time around.  :-)

Linux drivers are not ported to FreeBSD.  The driver and ABI semantics
are *way* too difference to port.  A new driver must be created.  The
Linux driver can be looked at to determine importance of register bits
or other things, but this requires the Linux driver to have large
amounts of commenting, many of which do not.

Thirdly, your Atheros chip is an AR5B91, it is an AR9281.  I'm not
sure where 5B91 came from.

Other things to note:

1) There is ath(4) on FreeBSD, but it is for different versions of
Atheros chips; it may not be possible to extend ath(4) to support the
9281.
2) Atheros chips have a history of being very different from one
another, as can be confirmed with ale(4) vs. age(4) (ex: the L1E NIC
completely different from the L1 NIC).

I've added an entry to my below Wiki page stating that we do not have
support for these Atheros chips.

http://wiki.freebsd.org/JeremyChadwick/Commonly_reported_issues

-- 
| Jeremy Chadwickjdc at parodius.com |
| Parodius Networking   http://www.parodius.com/ |
| UNIX Systems Administrator  Mountain View, CA, USA |
| Making life hard for others since 1977.  PGP: 4BD6C0CB |

___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Port Linux Driver

2008-11-16 Thread Wojciech Puchar

I have posted

I am installing FreeBSD 7.1 Beta 2 on my laptop model Acer Aspire 4530
1) Atheros AR5B91 is not detected
Does anyone know how to get the drivers or patch it

try ndisgen and windoze driver.

it may work.

actually it work very often
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]