Commit Graph

26 Commits

Author SHA1 Message Date
simonb
a35e8c4a16 Cast through (void *) to appease gcc3.
XXX1 - why does this "type-punned pointer" warning only affect little-
       endian MIPS and not big-endian MIPS?!
XXX2 - too much duplicated code.
2003-09-26 16:00:28 +00:00
agc
aad01611e7 Move UCB-licensed code from 4-clause to 3-clause licence.
Patches provided by Joel Baker in PR 22364, verified by myself.
2003-08-07 16:26:28 +00:00
lukem
141727280b __KERNEL_RCSID() 2003-07-15 01:31:38 +00:00
thorpej
d876aa082a Nuke the "alchemy_info" stuff, and just use the dev_propdb to set
the mac-addr property for the Au1x00 on-chip MACs.
2003-07-04 01:19:58 +00:00
he
57822a30b2 Conditionalize usage of the COM_HW_HAYESP constant on COM_HAYESP.
Add a dummy type argument to the local (au)comcnattach to match the change
in the prototype of the "real" comcnattach.

Reviewed and tested by simonb.
2003-06-27 07:39:34 +00:00
ragge
69a66687f8 Call ksyms_init() instead of ddb_init() in case of
NKSYMS || defined(DDB) || defined(LKM)
2003-04-26 11:05:05 +00:00
thorpej
fd53a1c386 Use PAGE_SIZE rather than NBPG. 2003-04-02 03:51:33 +00:00
hpeyerl
2664e8455c route a clock to the USB Host peripheral. includes code to configure
auxpll but this seems to come up at the right speed out of reset so it's
#if 0'd out.
2003-04-01 17:35:45 +00:00
thorpej
23bc250391 Merge the nathanw_sa branch. 2003-01-17 21:55:23 +00:00
thorpej
1132348b98 Use aprint_normal() for cfprint routines. 2003-01-01 01:24:19 +00:00
scw
61724834f9 Fix a typo to make this compile with MEMSIZE is defined. 2002-11-25 11:26:22 +00:00
thorpej
bd5bb4652b Add trailing ; to CFATTACH_DECL 2002-10-02 15:45:10 +00:00
thorpej
c5e91d447d Use CFATTACH_DECL(). 2002-10-02 04:55:47 +00:00
thorpej
f59e5352f2 Use CFATTACH_DECL(). 2002-10-01 04:21:32 +00:00
thorpej
9a711d6985 Declare all cfattach structures const. 2002-09-27 20:29:02 +00:00
thorpej
6c88de3b53 Introduce a new routine, config_match(), which invokes the
cfattach->ca_match function in behalf of the caller.  Use it
rather than invoking cfattach->ca_match directly.
2002-09-27 03:17:40 +00:00
thorpej
d1ad2ac4f2 Rather than referencing the cfdriver directly in the cfdata entries,
instead use a string naming the driver.  The cfdriver is then looked
up in a list which is built at run-time.
2002-09-27 02:24:06 +00:00
thorpej
3280b330bb Get the pointer to the driver name early, rather than constantly
deferencing the cfdriver pointer.
2002-09-26 20:18:24 +00:00
simonb
6ebf56cc52 Use AU1500_MAC0_BASE as well as a test for setting the MAC addresses
of the on-chip interfaces.
2002-09-11 08:30:48 +00:00
simonb
e2125ae174 Share disksubr.c across all evbmips "ports" (it was identical). 2002-09-09 06:40:40 +00:00
gehenna
77a6b82b27 Merge the gehenna-devsw branch into the trunk.
This merge changes the device switch tables from static array to
dynamically generated by config(8).

- All device switches is defined as a constant structure in device drivers.

- The new grammer ``device-major'' is introduced to ``files''.

	device-major <prefix> char <num> [block <num>] [<rules>]

- All device major numbers must be listed up in port dependent majors.<arch>
  by using this grammer.

- Added the new naming convention.
  The name of the device switch must be <prefix>_[bc]devsw for auto-generation
  of device switch tables.

- The backward compatibility of loading block/character device
  switch by LKM framework is broken. This is necessary to convert
  from block/character device major to device name in runtime and vice versa.

- The restriction to assign device major by LKM is completely removed.
  We don't need to reserve LKM entries for dynamic loading of device switch.

- In compile time, device major numbers list is packed into the kernel and
  the LKM framework will refer it to assign device major number dynamically.
2002-09-06 13:18:43 +00:00
simonb
b888bfcc0e Remove some commented-out include files. 2002-08-28 02:27:11 +00:00
thorpej
139cdc3125 Make nbuf, nswbuf, and bufpages unsigned. Make all operations on these
variables unsigned, and update places where their values are printed.
2002-08-25 20:21:33 +00:00
simonb
bf71dff7b9 Convert to use merged mips cpu_sysctl(). 2002-08-05 01:33:36 +00:00
simonb
34b375c0dd Add kttcp, sysmon and broadcom/sibyte devices. 2002-07-31 03:42:54 +00:00
simonb
10a72d78d1 Add support for the Alchemy Semiconductor Pb1000 evaluation board for
their Au1000 CPU.  Should also work with little or no tweaking for the
Pb1500 board for the Au1500 CPU as well.
2002-07-29 16:22:55 +00:00