Commit Graph

126 Commits

Author SHA1 Message Date
gdamore
1f585717a8 This is a boat-load of changes designed to finish parameterizing the
stuff necessary to separate out AR5312 from AR5315.  This includes:

	1) rework of arbus IRQs, so that IRQs are now seperately specified
	   as either MISC or CPU irqs
	2) move board/chip-specific addresses into chip-dependent file
	3) unencumber argpio from ar5312 specifics, using properties to pass
	   details such as reset-pin and sysled-pin.
	4) an option to select which WiSoC is to be configured is provided.

AR5315 support should be forthcoming shortly now.
2006-09-04 05:17:26 +00:00
gdamore
3bc99cc29a Use new common, MIPS3 clock handling. This eliminates some port-specific
code in favor of common MIPS3 code.
2006-09-02 22:54:47 +00:00
matt
6a157410d2 Increase SYMTAB_SPACE 2006-08-31 18:12:42 +00:00
christos
e0df1e4c51 PR/34283: Gene ENonymous: Add IPFILTER_LOOKUP to the default kernel options
Also remove CCITT,NS,NIP
2006-08-26 20:26:43 +00:00
skrll
1a3062e81b s/adpater/adapter/
Prompted by PR/34195
2006-08-14 06:22:33 +00:00
kiyohara
43b03eea5b Alphabetical order. 2006-07-29 19:02:28 +00:00
gdamore
e19a48dbd2 Cleanup old aucom entries. Left marked obsolete in majors, and removed from
dev/DEVNAMES.
2006-07-14 17:44:07 +00:00
gdamore
34537908ab Add an option COM_REGMAP to allow com(4) to use an array of register indices.
This allows us to convert aucom to just another com attachment, and cleanup
some code in the com_arbus.c.

Additionally, we use a common com_cleanup routine rather than having a
zillion copies of it in the attachment points.

This has been tested on a number architectures, and it has been shown to get
close to comparable performance when COM_REGMAP is defined, and comparable
when it is not defined.

Approved by core@.  Fixes PR port-evbmips/32362.
2006-07-13 22:56:00 +00:00
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
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
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
simonb
5a869abd1e Catch up and standardise pseudo-device lists - mostly add tap, bridge,
clockctl and ksyms.
2006-04-30 11:48:37 +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
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
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
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
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
32d0f6374a Remove hptide, and ata related devices.
OMS-AL400 has no hptide device.
2006-02-27 20:50:48 +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
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
7907cb6c09 Initial configuration for MTX-1, aka Meshcube. 2006-02-23 04:40:52 +00:00
gdamore
c8934e8111 Remove evbmips-specific aupcmcia... to be reimported shortly into
mips/alchemy.
2006-02-23 03:34:35 +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
1ab242ab37 Oops. Hadn't saved file, so missed request for feedback in comment for
last commit (PCI being commented out).
2006-02-14 04:29:27 +00:00
gdamore
ebbb314def Comment out PCI for DBAU1500, as it seems incredibly busted. Explanatory
comments are included.  Approved by simonb@
2006-02-14 04:26:59 +00:00
gdamore
de65dd41eb Add rgephy for RealTek GigE 2006-02-13 04:30:12 +00:00
gdamore
2bc42dde61 GPIO support for all supported Alchemy parts. 2006-02-13 00:09:15 +00:00
gdamore
1388c544a6 Add GPIO driver, and GPIO access functions for other subsystems. 2006-02-12 20:49:34 +00:00
gdamore
cec878cba7 Added PCI support for DBAU1500 (verified). 2006-02-09 00:43:10 +00:00
gdamore
0a8bdb270d Add Au1550 PCI support (Au1500 not yet, coming shortly).
Closes PR port-evbmips/32087.
Reviewed by simonb@ (Also, earlier, matt@, and tsutsui@.)
2006-02-09 00:26:39 +00:00
gdamore
cf49f62481 Clean up DBAU1550 and DBAU1500 (include ALCHEMY) per suggestion from simonb@. 2006-02-08 17:02:05 +00:00
gdamore
017c98158d Improved alchemy board support, including board differentiation required for
PCI idsel and irq routing (later).
Various cleanup/rototilling to remove hardcoded pb1000 references.
Reviewed by simonb@, and derived from changes reviewed by matt@ and tsutsui@
2006-02-08 09:04:01 +00:00
gdamore
d240b42509 renamed pb1000_intr to reflect that it isn't board-specific. Prune unused
pb1000_intr_establish/disestablish calls.

Change was reviewed by folks as part of PCI changes, and should be
non-controversial in any case.
2006-02-07 18:57:12 +00:00
simonb
94fd5272df Use "options<space><tab>". 2006-02-06 23:48:55 +00:00
gdamore
eab2d4562e Fix up incorrect ICU reporting, add processor specific switch tables for
IRQ routing and such.

Closes PR port-evbmips/31992.
Reviewed by simonb@, matt@, and izumi@
2006-02-06 23:23:53 +00:00
gdamore
9e9a382790 Renamed PB1000 to ALCHEMY (config supports all generic ALCHEMY dev boards).
Reviewed by simonb@
2006-02-06 03:43:46 +00:00
cube
6ff13154dd Remove 'count' argument for pseudo-devices that ignore it
(vnd, bpfilter, ppp, gif, gre, tun, sl, strip, faith, stf).
2006-02-05 05:01:48 +00:00
rpaulo
df5390003c bpfilter doesn't accept count anymore. 2006-02-04 02:42:27 +00:00
christos
a790ff195c PR/32086: Garrett D'Amore: Use the YAMON environment for console speed
selection, rather than a hard-coded speed.
2005-12-21 18:55:33 +00:00
tron
e7b5db7c4a Add basic support for Alchemy Au1550 processor (CPU and devices).
Patch contributed by Garrett D'Amore in PR port-evbmips/32030.
2005-12-20 21:06:42 +00:00