Commit Graph

249 Commits

Author SHA1 Message Date
gdamore
d266f72a20 Add AR531X GPIO support. This also registers the reset button with sysmon,
so that when it is pressed the default reset button action (currently board
reset, no change to data in flash) is taken.

While here, remove the AR531X generic config, because it just doesn't make
sense.
2006-07-07 22:03:19 +00:00
kiyohara
409c2af88f Add lmtemp(4). 2006-06-26 16:20:50 +00:00
simonb
62496a150d LCD and PCMCIA address info is chip-specific and not board-specific.
Remove them from here.
2006-06-17 14:42:54 +00:00
gdamore
c76dd4fa65 KNR->KNF. :-) 2006-06-08 22:47:26 +00:00
gdamore
391d67720b Add support for AR5312 on-chip watchdog.
While we're here, fix mainbus so that mainbus doesn't complain about
unconfigured devices, and use the *atheros* mainbus instead of alchemy (doh!)
2006-06-08 06:15:59 +00:00
gdamore
a4f593555e Kernel config for the AP30, which includes the WLAN support for the AR5312.
I will probably delete the generic AR531X config later, because frankly its
pretty useless without the board-specific HALs.
2006-06-06 05:17:22 +00:00
gdamore
b38b3d39ad Import new HAL 0.9.17.2. Approved by sam@
New HAL includes some driver changes to register accesses.
Adds support for WLAN devices on AR5312 family devices.
Adds support 32-bit SPARC ath devices (untested).
ath enabled in SPARC64 GENERIC builds.
This HAL is tested and known to work for i386 PCI devices, SPARC64 PCI devices,
and AR5312 WiSoC devices.  MIPS PCI devices appear to be busted (possibly only
on Alchemy hardware, unconfirmed), and cardbus support is untested due to
lack of test hardware.

Please report any new problems with this import to garrett@.
2006-06-05 05:14:37 +00:00
gdamore
60a298a64e Rename flash to athflash to reflect MD nature. Approved by simon@ and dyoung@ 2006-05-25 06:37:47 +00:00
gdamore
fef1104692 Rename MD flash to athflash to avoid confusion. This only renames the major
number.  The driver itself still needs to be done as well. :-)
2006-05-25 06:29:21 +00:00
gdamore
1f55482fd5 Add major number for flash device. 2006-05-25 03:16:29 +00:00
gdamore
86b54ed307 Increase size of embedded symbol table. 2006-05-23 20:28:05 +00:00
elad
8ccb6c9341 integrate kauth. 2006-05-14 21:55:09 +00:00
tsutsui
337a4c703f According to the i8259 manual, EOI, R, and SL bits belong to OCW2 register
so rename them OCW3_* -> OCW2_*.
2006-05-12 10:58:12 +00:00
thorpej
fb44a8574b Remove the devprop API and switch everthing over to the new proplib. Add
a new device_properties() accessor for device_t that returns the device's
property dictionary.
2006-05-05 18:04:41 +00:00
simonb
5a869abd1e Catch up and standardise pseudo-device lists - mostly add tap, bridge,
clockctl and ksyms.
2006-04-30 11:48:37 +00:00
simonb
15f26a44dc Fix some comment tyops. 2006-04-25 03:56:16 +00:00
tsutsui
9c7179ce5d Remove declarations for cpu_model[] since it's in <sys/systm.h>. 2006-04-09 01:18:14 +00:00
gdamore
c985773db1 Remove rtc, as we don't have one. 2006-04-07 04:56:00 +00:00
simonb
aab1062e1b Remove "return" at the end of a void function. 2006-04-06 06:20:37 +00:00
simonb
b015b6a9f1 Use "#define<TAB>". 2006-04-06 06:17:32 +00:00
gdamore
daaee9c532 Add support for using the MIPS Atheros HAL.
Atheros WLAN added to default evbmips DBAU1500, DBAU1550, and MTX-1 configs.
Note that AR5312 config will require unique HAL that we don't have yet.
2006-04-04 04:30:28 +00:00
kiyohara
38e42c3d76 Support aupcmcia on OMSAL400. 2006-04-02 17:32:57 +00:00
gdamore
2418262c03 Fix incorrect panic when no RTC present. 2006-03-31 06:45:46 +00:00
shige
f9aeb216b8 Added INSTALL_OMSAL400: Install kernel for OMS-AL400. 2006-03-30 15:30:59 +00:00
shige
2295adc429 Don't configure the aurtc device. 2006-03-28 16:56:50 +00:00
gdamore
a3102ea4c1 Use todr_attach. 2006-03-28 16:37:44 +00:00
gdamore
8a4593e3a3 Duplicate RTC registration should be a warning, not a panic. 2006-03-28 16:35:51 +00:00
shige
58c31114a4 Add the following devices:
- Au1550 Programmable Serial Controller
 - SMBus protocol (on Au1550 PSC)
 - RICOH R2025S RTC (on SMBus)
 - ATMEL AT24C04 EEPROM (on SMbus)
2006-03-28 15:12:01 +00:00
shige
1af8f5f857 Add a missing todr_attach() function. 2006-03-28 12:02:36 +00:00
gdamore
d375c80e7f Rework evbmips clock architecture to use common clock_subr.h routines.
Additionally, do not fail if no RTC is present, as not all boards have one.

Malta now uses the common dev/ic/mc146818.c code as much as possible, reducing
local "custom" code.  These malta changes are *untested*, as I do not have
a Malta board to test with.  If someone would please test them and get back to
me, I'd appreciate it!
2006-03-28 03:43:57 +00:00
gdamore
634defef64 Enable PCMCIA on DBAU1550.
Some devices work (an, wdc), while others do not (ne, wi).
However, the bus is useful enough that it makes sense to go ahead and
enable it.  Maybe other folks can help me debug the rest of the problems.
2006-03-25 07:28:20 +00:00
gdamore
e0103fb04c Use const char * in yamon_print(). 2006-03-21 21:49:47 +00:00
gdamore
bc3e11746b Initial import of Atheros AR531X SoC support. Currently the onboard ethernet
and serial ports are supported, and the system appears stable with an NFS
mounted root.   An earlier version of the code was reviewed by simon@, but it
has since had numerous improvements and cleanups.


At the moment, only AR5312 is known to work, but I suspect AR2313 will work
as well.  Later 2315/2316 parts are substantially different, and are not yet
supported.  Wifi and Marvell switch support found on some designs are not yet
supported.

Platforms known to include AR5312 include Senao Aries 2 (AP5054) and Netgear
WGU624.
2006-03-21 08:15:19 +00:00
shige
1a099b7e5a Fix invalid array initialization. 2006-03-01 20:21:41 +00:00
shige
32d0f6374a Remove hptide, and ata related devices.
OMS-AL400 has no hptide device.
2006-02-27 20:50:48 +00:00
thorpej
132ce1f07f Use device_is_a() 2006-02-26 05:24:52 +00:00
simonb
7a89a17ecd Sort PCI devices alphabetically.
Add "sip" and "fxp" ethernet cards.
Split ethernet and IDE controller devices into separate sections.
Use "options<space><tab>".
2006-02-25 11:47:41 +00:00
simonb
f6508730bb Sort PCI devices alphabetically.
Remove IDE controller and related devices - the MeshCube doesn't have
  one of these.
Use "options<space><tab>".
2006-02-25 11:45:24 +00:00
simonb
f309c85ff6 Sort PHYs alphabetically, add nsphyter.
Use "options<space><tab>".
2006-02-25 11:43:14 +00:00
shige
6b17239118 Modify copyright declaration. 2006-02-23 17:47:35 +00:00
shige
6707bdbecb Support Plathome OpenMicroServer (OMS-AL400).
http://www.plathome.co.jp/products/oms400/index.html (sorry japanese only).
2006-02-23 17:14:01 +00:00
gdamore
0a10b0f21a Third time the charm? Okay, this time it at least compiles. 2006-02-23 04:52:49 +00:00
gdamore
bd1e7e550f Doh! Correct typo/pasto error. 2006-02-23 04:45:55 +00:00
gdamore
7907cb6c09 Initial configuration for MTX-1, aka Meshcube. 2006-02-23 04:40:52 +00:00
gdamore
38e63dcefc Add PCMCIA board-specific logic for DBAU1550. It isn't quite right yet, so
I'm not enabling it in the configuration file yet.  (I have an uncommitted
version of the config file that I will happily share with anyone who wants to
help test or debug.)
2006-02-23 03:51:40 +00:00
gdamore
c8934e8111 Remove evbmips-specific aupcmcia... to be reimported shortly into
mips/alchemy.
2006-02-23 03:34:35 +00:00
thorpej
58853410ae Use device_class() instead of accessing dv_class directly. 2006-02-21 04:32:38 +00:00
thorpej
680d9eea68 - Don't expose dev_propdb directly -- provide devprop_*() wrappers instead.
- Rework the ARMADILLO / epe device properties interaction so that it actually
  associates the MAC address property with the epe device instance.
2006-02-18 05:04:11 +00:00
gdamore
e5312db1b0 Reenable PCI on DBAU1500. May still be useful for PIO devices. Comments
in the config are left intact, though.
Add a PMAP-driven bus_space for access to upper memory, instead of using
wired entries.
Convert aupci to use said bus_space -- no measured performance impact.
2006-02-16 01:55:17 +00:00
gdamore
2d31c1c18a CPLD registers are 16-bits wide, not 32. 2006-02-16 01:52:57 +00:00