Commit Graph

414 Commits

Author SHA1 Message Date
garbled
d974db0ada Merge the ppcoea-renovation branch to HEAD.
This branch was a major cleanup and rototill of many of the various OEA
cpu based PPC ports that focused on sharing as much code as possible
between the various ports to eliminate near-identical copies of files in
every tree.  Additionally there is a new PIC system that unifies the
interface to interrupt code for all different OEA ppc arches.  The work
for this branch was done by a variety of people, too long to list here.

TODO:
bebox still needs work to complete the transition to -renovation.
ofppc still needs a bunch of work, which I will be looking at.
ev64260 still needs to be renovated
amigappc was not attempted.

NOTES:
pmppc was removed as an arch, and moved to a evbppc target.
2007-10-17 19:52:51 +00:00
ad
9f56dfa520 Merge brelse() changes from the vmlocking branch. 2007-10-08 18:02:53 +00:00
martin
984c6bf848 Bump SYMTAB_SPACE significantly, so that the MTX-1 kernel builds with
symbols again.
2007-08-11 23:48:04 +00:00
ad
66fefd117b It's not a good idea for device drivers to modify b_flags, as they don't
need to understand the locking around that field. Instead of setting
B_ERROR, set b_error instead. b_error is 'owned' by whoever completes
the I/O request.
2007-07-29 12:15:35 +00:00
ad
63811f5275 Generic soft interrupts are mandatory. 2007-07-14 21:48:17 +00:00
dyoung
1ee8f4a418 Extract common code from i386, xen, and sparc64, creating
config_handle_wedges() and read_disk_sectors().  On x86, handle_wedges()
is a thin wrapper for config_handle_wedges().  Share opendisk()
across architectures.

Add kernel code in support of specifying a root partition by wedge
name.  E.g., root specifications "wedge:wd0a", "wedge:David's Root
Volume" are possible.  (Patches for config(1) coming soon.)

In support of moving disks between architectures (esp. i386 <->
evbmips), I've written a routine convertdisklabel() that ensures
that the raw partition is at RAW_DISK by following these steps:

        0 If we have read a disklabel that has a RAW_PART with
          p_offset == 0 and p_size != 0, then use that raw partition.

        1 If we have read a disklabel that has both partitions 'c'
          and 'd', and RAW_PART has p_offset != 0 or p_size == 0,
          but the other partition is suitable for a raw partition
          (p_offset == 0, p_size != 0), then swap the two partitions
          and use the new raw partition.

        2 If the architecture's raw partition is 'd', and if there
          is no partition 'd', but there is a partition 'c' that
          is suitable for a raw partition, then copy partition 'c'
          to partition 'd'.

        3 Determine the drive's last sector, using either the
          d_secperunit the drive reported, or by guessing (0x1fffffff).
          If we cannot read the drive's last sector, then fail.

        4 If we have read a disklabel that has no partition slot
          RAW_PART, then create a partition RAW_PART.  Make it span
          the whole drive.

        5 If there are fewer than MAXPARTITIONS partitions,
          then "slide" the unsuitable raw partition RAW_PART, and
          subsequent partitions, into partition slots RAW_PART+1
          and subsequent slots.  Create a raw partition at RAW_PART.
          Make it span the whole drive.

The convertdisklabel() procedure can probably stand to be simplified,
but it ought to deal with all but an extraordinarily broken disklabel,
now.

i386: compiled and tested, sparc64: compiled, evbmips: compiled.
2007-06-24 01:43:34 +00:00
dyoung
82cc8fc351 In sys/kern/Make.tags.inc, create an intermediate variable FINDCOMM.
FINDCOMM contains the find(1) command that produces the list of
NetBSD sources that all architectures share, COMM.  For backwards
compatibility, evaluate FINDCOMM to produce ${COMM}.

In arch/evbmips/Makefile, use FINDCOMM directly, because the
command-line 'echo $COMM ...' was too long.
2007-06-24 01:03:35 +00:00
tsutsui
73b3a64df4 Move declaretions of _spl*() and _{clr,set}softintr() functions
(which are in mips/locore.S) into <mips/locore.h>
from various MD files.
2007-06-17 06:04:27 +00:00
dyoung
4d1beb764e Make ADM5120 boards use the "common" disk subroutines, such as
readdisklabel(9), which are better than the evbmips disk subroutines
at finding a BSD disklabel at a different location than the evbmips
default of sector 0, offset 64.  Helps me boot a RouterBOARD 153
from a CompactFlash containing both a Master Boot Record at sector
0, and a BSD disklabel at sector 1, offset 0.
2007-06-05 21:53:10 +00:00
he
e9e5beefa0 Now that curcpu() is defined in terms of curlwp() for mips, we need to
include <sys/lwp.h> where curcpu() is used.
2007-05-20 17:06:25 +00:00
yamt
f03010953f merge yamt-idlelwp branch. asked by core@. some ports still needs work.
from doc/BRANCHES:

	idle lwp, and some changes depending on it.

	1. separate context switching and thread scheduling.
	   (cf. gmcgarry_ctxsw)
	2. implement idle lwp.
	3. clean up related MD/MI interfaces.
	4. make scheduler(s) modular.
2007-05-17 14:51:11 +00:00
macallan
cd8fb15721 include files.wsfb 2007-04-10 02:29:42 +00:00
dyoung
5770bb4c31 Add extio, gpio. Remove admflash. Makes the compile again. 2007-04-03 23:53:34 +00:00
dyoung
eabf98a2cc Add extio and gpio so that this compiles again. 2007-04-03 21:54:01 +00:00
dyoung
aa13eb6f2f Add extio and gpio at mainbus so that this builds. 2007-04-03 18:06:31 +00:00
dyoung
29bf5964b4 Auto-detect RAM size. 2007-04-03 18:05:57 +00:00
dyoung
8db8860cb3 Add an example kernel configuration for the RouterBOARD 153.
XXX This is a fairly specialized configuration that I use for a
XXX wireless router.
2007-03-20 09:22:01 +00:00
dyoung
320845dda2 Add a port to the Infineon ADM5120.
Basics: the ADM5120 is a 175 MHz MIPS32 4Kc processor featuring a
6-port ethernet 10/100 switch with Auto MDI/X, a PCI controller,
USB 1.1 controller, UART, watchdog timer, eight GPIO pins, and a
multiport memory controller with both NOR and NAND flash support.
This code supports most of the devices on the ADM5120, including
the 6-port switch (each port attaches as an ethernet, admsw0 through
admsw5), the PCI controller, USB controller, GPIO, watchdog, and
UART.

Remaining work: the port includes no NOR/NAND flash drivers.  No
bootloader is included.  I have only tested the PCI bus driver with
the use of one PCI slot on the RouterBOARD 153.  It is not possible
to exploit the capabilities of the ethernet switch using bridge(4).
I have only netbooted the ADM5120 on the RB153.  Booting other
boards, and booting from flash memory, remains to be done.

Hardware availability: many low-cost routers, including the
RouterBOARD 100 series at RouterBOARD.com, use the Infineon ADM5120
processor.

Credits: Ruslan Ermilov and Vsevolod Lobko ported to the ADM5120,
and they wrote device drivers for the UART, USB controller, and
10/100 switch.  Matt Isaacs brought the port up-to-date with
NetBSD-current, made it compile, and ran it first on the RB153.
I added drivers for the PCI controller, GPIO, and watchdog timer.
I produced the bus attachment for the CompactFlash slot with advice
from Mikrotik technical support and from Matt Thomas.
2007-03-20 08:52:00 +00:00
dyoung
0a000a82df Remove the tags file before rebuilding it. 2007-03-14 19:00:57 +00:00
drochner
ab07e481e4 It doesn't make sense to specify "configuration" and "interface"
locators for uhub because a hub can't have sub-devices.
This might be sanity-checked eventually.
Same for ubt now after the change to device attachment.
2007-03-14 12:27:20 +00:00
simonb
a92d5c5157 Fix some caddr_t rototill fallout. 2007-03-06 00:48:07 +00:00
dogcow
f18ef70a25 semimechanically convert 'void foo' -> 'void *foo', as part of the continuing
caddr_t fallout.
2007-03-05 21:05:00 +00:00
christos
53524e44ef Kill caddr_t; there will be some MI fallout, but it will be fixed shortly. 2007-03-04 05:59:00 +00:00
kiyohara
8147572ab4 s/Sever/Server/ 2007-02-23 13:34:34 +00:00
thorpej
8b3bae6275 TRUE -> true, FALSE -> false 2007-02-22 05:19:00 +00:00
jmcneill
e9a5822887 Add example config file for Netgear WGT624 v3 wireless router. 2007-02-17 23:26:03 +00:00
ad
3363855a4a Remove spllowersoftclock() and CLKF_BASEPRI(), and always dispatch callouts
via a soft interrupt. In the near future, softclock will be run from process
context.
2007-02-16 02:53:43 +00:00
ad
b07ec3fc38 Merge newlock2 to head. 2007-02-09 21:55:00 +00:00
hubertf
142c2a33ba Remove duplicate #includes, patch contributed in private mail
by Slava Semushin <slava.semushin@gmail.com>.

To verify that no nasty side effects of duplicate includes (or their
removal) have an effect here, I've compiled an i386/ALL kernel with
and without the patch, and the only difference in the resulting .o
files was in shifted line numbers in some assert() calls.
The comparison of the .o files was based on the output of "objdump -D".

Thanks to martin@ for the input on testing.
2007-01-24 13:08:11 +00:00
yamt
8bf7662829 merge yamt-splraiseipl branch.
- finish implementing splraiseipl (and makeiplcookie).
	  http://mail-index.NetBSD.org/tech-kern/2006/07/01/0000.html
	- complete workqueue(9) and fix its ipl problem, which is reported
	  to cause audio skipping.
	- fix netbt (at least compilation problems) for some ports.
	- fix PR/33218.
2006-12-21 15:55:21 +00:00
scw
efb2b3439f Partition sizes are specified in terms of the physical sector size of the disk. 2006-11-25 13:09:14 +00:00
scw
e07faf8a74 Replace the myriad copies of bounds_check_with_label() with a single MI
version.

Add disk_blocksize(9) so that disk drivers can record the physical
block size of a disk if it is different to DEV_BSIZE. Right now this
simply initialises dk_blkshift and dk_byteshift according to the
supplied block size. This information is used in the MI version of
bounds_check_with_label().
2006-11-25 11:59:55 +00:00
riz
11f6dc7a44 Don't worry about the ELF32_MACHDEP_ENDIANNESS macro when compiling
a host tool - it's never used there.
2006-11-25 07:32:53 +00:00
wiz
6919c6578c s/independant/independent/, from Zafer. 2006-11-24 22:04:21 +00:00
tsutsui
9cdb8836f5 Fix wrong prototype declarations of _spl*() functions.
Pointed out by Havard Eidnes.
XXX: should these decls be in <mips/intr.h> or <mips/locore.h>?

While here, remove "extern" keyword from function declarations.
2006-11-18 16:40:21 +00:00
tsutsui
44e83481b7 Defer _spl0() or _splnone() calls (which enable hardware interrupts)
from cpu_configure(9) to cpu_initclocks(9) on mips ports which use
mips3_clockintr.c:mips3_clockintr() (i.e. CPU INT5 clock) to avoid
hardclock(9) before softclock interrupt is initialized in initclocks().
This should be harmless because initclocks() is a part of configure()
in these days and there is no MI function which expects hardware
interrupts between cpu_configure(9) and cpu_initclocks(9).

Disccussed on tech-kern and port-mips.
2006-11-17 21:01:03 +00:00
gdamore
83060aef95 Active SPI connected STMicro serial flash. Note that this driver is still
a bit rudimentary, but it works well enough to read flash at least.
2006-10-07 07:24:23 +00:00
gdamore
e7ee9e199f Add major for spiflash. Note that this major should probably be moved out
to device-independent space, but we might well choose to wait to do that
until _after_ we have a full MI flash framework.
2006-10-07 07:22:36 +00:00
gdamore
118d36b6e7 Add the final glue bits required to enable the SPI interface on the
DBAU1550.  This is parameterized somewhat as machdep pluggable code, so
different boards can supply different implementations.

At the moment, the DBAU1550 is the only Au1550 board I know of with SPI
connected devices.

I have not enabled I2C on the DBAU1550, as we do not have drivers for either
of the I2C connected devices (a different temperature/voltage sensor and
a serial eeprom.)
2006-10-02 08:13:53 +00:00
chs
e8295642bd remove MALLOC_NOINLINE, it doesn't do anything anymore. 2006-10-02 03:28:29 +00:00
manu
f309b668fd - Document COMPAT_15 as doing nothing
- Add COMPAT_15 to all the kernel that had COMPAT_14, for the sake of coherency
- Remove the only occurences of #ifdef COMPAT_15 in the tree: for the ARM
ports, COMPAT_15 was always used in conjunction with EXEC_AOUT. Only EXEC_AOUT
matters here.

This address kern/18407
2006-09-27 21:42:04 +00:00
gdamore
e653071cb2 Initial import of AR2315 support, specifically the Meraki Mini (see
the Meraki web site at http://www.meraki.net/ )  This includes changes
to the AR5312 to make it more conducive to sharing code with the AR5315,
and also includes improved early console support.

All devices including ethernet and wlan interfaces on the Meraki Mini are
functional with this port, _except_ SPI flash, which will be introduced
later.

This port was funded by the Champaign-Urbana Communit Wireless Network
Project (CUWiN).
2006-09-26 06:37:31 +00:00
tsutsui
e5dc12ca9c Change mips3_clockintr() to take (struct clockframe *) rather than
pc and status since it calls hardclock(9) anyway.
OK'ed by gdamore on port-mips.
2006-09-10 14:27:38 +00:00
simonb
65d14d5f62 Add ath@pci.
Bump SYMTAB_SPACE.
2006-09-09 04:00:24 +00:00
simonb
1592ce0c68 Move the "reseting board..." printf to before the first code that can
reset a board.
2006-09-09 03:58:46 +00:00
gdamore
bf6fc8ef63 Various improvements to make the common mips3 clock handling more generally
useful.  The functions delay, cpu_initclocks, and setstatclcokrate have been
renamed to mips3_delay, mips3_initclocks, and mips3_setstatclockrate.

We provide weak aliases for the original names, so machdep code doesn't have
to provide wrapper routines.  (Giving good performance.)

I've moved mips3_clockintr, mips3_initclocks, and mips3_setstatclockrate to
their own mips3_clockintr file, because some ports may not be able to use
these, and its senseless to carry that baggage.
2006-09-08 23:39:27 +00:00
simonb
66e9a5e5c7 Print out a "\n" after calling mc146818_attach().
Pointed out by Izumi Tsutsui.
2006-09-07 04:59:30 +00:00
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
gdamore
be077b9856 Remove pointless reference to evbmips/clockvar.h. 2006-09-02 22:33:06 +00:00
gdamore
f0cf1a4f32 Convert evbmis to __HAVE_GENERIC_TODR. 2006-09-02 20:27:21 +00:00
gdamore
6f46a0d419 Remove ifdef 0'd code from before timecounters. 2006-09-02 02:06:05 +00:00
gdamore
12c3c2ae91 Convert evbmips to timecounters, using the MIPS3 cp0 clock.
This has been tested on AR5312, and I expect it to "just work" on
all evbmips systems.  (On AR5312, the counter is 110MHz. :-)
2006-09-02 02:04:25 +00:00
matt
6a157410d2 Increase SYMTAB_SPACE 2006-08-31 18:12:42 +00:00
gdamore
f7fbb8d998 Trivial white-space and comment fixup. 2006-08-29 02:35:44 +00:00
gdamore
5cdb703d36 First pass at cleanup AR5312 WiSoC support to enable better & cleaner
sharing of code with the AR5315, which has many similarities, but many
differences from the AR5312.

No functional change at this time, other than the cpu_model string
(and also sysctl.hw.model node) is changed to reflect the WiSoC cpu
name rather than the identification string in ROM (which tends to not
be very informative.)
2006-08-28 07:21:15 +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
riz
a9815feffa Vendor GALILEO is now MARVELL. 2006-08-22 21:42:19 +00:00
skrll
1a3062e81b s/adpater/adapter/
Prompted by PR/34195
2006-08-14 06:22:33 +00:00
dyoung
bc21bda1c9 Make the 'tags' target work better: use ${SYSDIR}/arch/evbmips/
instead of ../evbmips/, which was pretty fragile.  Cope with long
argument lists using the echo ${args} | xargs ctags idiom used in
other architectures' tags target.
2006-08-06 17:21:58 +00:00
kiyohara
43b03eea5b Alphabetical order. 2006-07-29 19:02:28 +00:00
drochner
84f50d1b92 don't install <machine/db_machdep.h>, this is kernel only 2006-07-26 19:54:56 +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
ccee3fc76f Revert yamon_getenv() so it returns char *. While this is suboptimal, it is
the only convenient way to use the returned value with numerous library
routines which have not been altered to properly use constified char *.

This was found to be necessary when I extended yamon to hold a string
describing a video mode for use with my experimental radeonfb.
2006-07-13 21:06:18 +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
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
gdamore
982890b596 Add board reset logic. 2006-02-16 01:52:37 +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
8ea5188929 Added board support for hard-reset (reboot) and power off. 2006-02-13 02:37:05 +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
cf9fe31b7c Consistency wrt phys physical and KSEG1 addresses. 2006-02-12 06:43:03 +00:00
gdamore
0cf592aa8a au_icu.c is in mips/ and should not depend on evbmips intr handler struct.
convert various u_int32_t to preferred uint32_t.
2006-02-09 18:03:12 +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
8203064709 Add Itronix copyright (3-clause BSD) that I forgot to include in original
versions.
2006-02-08 17:09:04 +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
gdamore
067008df2a paddr_t should be 64-bits wide to accomodate full R4K 36-bit phys address.
(Alchemy needs it for various system peripherials located above 4GB.)
2006-01-30 23:57:51 +00:00
gdamore
de4cbc1b05 Fix improper USB clocking (makes USB work on DBAu1550).
Closes PR port-evbmips/32355.
2006-01-27 23:05:16 +00:00
he
f5a8e7919c Add an obviously missing double-quote. 2006-01-01 15:05:32 +00:00
perry
2d65de2479 bare asm -> __asm 2005-12-24 22:45:33 +00:00
perry
5f1c88d70d Remove leading __ from __(const|inline|signed|volatile) -- it is obsolete. 2005-12-24 20:06:46 +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
thorpej
c97c3de6e9 Remove the tablet line discipline. 2005-12-20 05:35:27 +00:00
christos
95e1ffb156 merge ktrace-lwp. 2005-12-11 12:16:03 +00:00
tsutsui
ff9b47d69e Adjust comments for options FFS_NO_SNAPSHOT.
XXX: This option should be mentioned in options(4).
2005-12-07 09:10:11 +00:00
yamt
ba38016298 implement splraiseipl() for the following ports.
evbppc, evbmips, evbsh3, hp700, mac68k, vax, x68k.
2005-11-27 14:01:45 +00:00
simonb
f550ec6c5a Include <sys/systm.h> if we use printf(), instead of relying on some
other random header pulling <sys/systm.h> in for us.
2005-11-25 13:55:14 +00:00
dbj
8000972bbe . Have dbsym explicitly suggest increasing SYMTAB_SPACE when
an overflow occurs.
   . Make this error a fatal build time error
   . Move the support for dbsym into the MI Makefile.kern.inc,
     conditional upon the SYMTAB_SPACE option being defined in
     the kernel config file.
2005-11-24 12:54:29 +00:00
simonb
0fa775d643 Remove long unused file. 2005-11-11 12:26:15 +00:00
tsutsui
e54d906c60 Add empty <machine/wired_map.h> for the MI mips/wired_map.c. 2005-11-05 09:54:48 +00:00