pooka
817b0a57d8
Make das blinkenlights, well, blink on IP12 also.
2004-04-11 10:29:20 +00:00
pooka
03e520f443
* The HPC endianness register isn't mapped on my IP12, so don't try to
...
unconditionally read it
* IP12 glue from Steve Rumble
2004-04-10 21:59:42 +00:00
sekiya
d289507533
Blinkenlitzen for IP20 (Indigo).
2004-02-28 00:53:56 +00:00
wiz
f05e6f1a3a
occured -> occurred. From Peter Postma.
2004-02-24 15:12:51 +00:00
bjh21
fb330ce71b
Remove pckbc_machdep_cnattach() -- it's no longer needed.
2004-02-19 01:03:45 +00:00
sekiya
937db2de33
de-__P, sprinkle some KNF.
2004-01-10 02:55:54 +00:00
sekiya
aa9d797070
IP20 has two z8530 chips -- one at 0xd00 for keyboard/mouse, one at 0xd10
...
for serial ports. Attach the former as zs1 to keep serial console goo as
simple as possible.
2004-01-02 01:04:46 +00:00
sekiya
a072684caa
Adapt if_sq to HPC abstraction layer. It took both Steve Rumble and myself
...
to untangle the unhappiness that arises from the design differences between
HPC1 and HPC3.
2003-12-30 23:48:07 +00:00
sekiya
52063657cc
Force little-endian mode on hpc1, and attach zs on IP20.
2003-12-30 23:45:25 +00:00
sekiya
bc5774497e
Fixes to HPC abstraction layer from Steve Rumble:
...
- hpc1_hdd_{ctl,bufptr} and hpc3_hdd_{ctl,bufptr} are
established in hpcreg.h. All references to these fields
are updated with the exception of if_sq: (haltwo,
hpcdma). This makes reading the code and spotting bugs
easier.
- hpcdma.c was applying EOCHAIN to the wrong descriptor
word for the hpc1 case.
- I added scsi_max_xfer to the abstraction layer, and it
allows some crusty #defines in wdsc.c to be removed.
hpc1 now doesn't waste descriptors as it once did.
- hpcreg.h was updated to reflect the lack of XMITDONE
bit in hpc1. HPC1_REV15 added for a test in hpc.c
- hpc.c now verifies HPC1 revisions (1.0 vs 1.5) and
prints the output a little prettier ;)
- power interrupts shouldn't establish on non-IP22
platforms.
2003-12-29 06:33:57 +00:00
sekiya
af4ac18e50
Introduce abstraction layer for HPC registers and values, which addresses the
...
divergence between HPC revision 1.5 and revision 3.
The wdsc driver has been updated to reflect this layer (and may now work on
IP20). The sq driver needs a bit more work before it can be committed.
2003-12-16 11:59:04 +00:00
sekiya
b91ae185fb
A slighly more descriptive iocreg.h now lives in ../ioc.
2003-12-16 05:27:40 +00:00
sekiya
fa349eb13c
Allow hpc to attach on IP20.
2003-12-14 07:28:17 +00:00
lonewolf
b57c3a57f9
Make this compile and apparently work (it generates interrupts properly, at
...
least).
XXX The is_console test is horribly ugly but necessary for the pckbc_cnattach
XXX coming soon.
2003-12-10 00:22:29 +00:00
keihan
29c72c57f0
netbsd.org -> NetBSD.org
...
All "netbsd.org" is now gone from src/sys/arch.
2003-12-04 13:05:15 +00:00
lonewolf
803a8479e6
Replace some magic numbers by symbolic constants.
2003-12-04 05:31:27 +00:00
sekiya
f93f583751
Register definitions for National Semiconductor DP8573A RTC. Code originally
...
from Steve Rumble, with modifications by myself.
2003-11-22 04:01:01 +00:00
sekiya
8e5c74aa34
Add dpclock driver (and minimal hpc1 goo) for ip20.
2003-11-22 03:58:52 +00:00
sekiya
a7c36d873f
Add dpclock driver (and minimal hpc1 goo) for ip20. Code originally
...
from Steve Rumble, with modifications by myself.
2003-11-22 03:58:51 +00:00
sekiya
53acd623c8
Add pckbc to device list.
2003-11-20 08:34:05 +00:00
sekiya
b26a57f648
Add driver for pckbc at hpc. There's an interrupt issue that still needs
...
to be resolved.
2003-11-20 08:31:13 +00:00
keihan
0714799990
www.netbsd.org -> www.NetBSD.org
2003-11-17 10:07:58 +00:00
matt
22b4a90181
Fix another lasttx uninitialized variable
2003-10-30 23:05:56 +00:00
sekiya
af12cdb68a
Compile dsclock_hpc.c only if dsclock is present in config file.
2003-10-17 06:49:34 +00:00
tsutsui
d330e7b609
TAB/space cleanup.
2003-10-04 09:19:23 +00:00
he
772b1d9073
Allow kernels without the haltwo driver configured to build, i.e.
...
make the driver optional by adding the haltwo attribute.
2003-09-27 21:11:21 +00:00
lonewolf
c8d69e8d1c
Attach haltwo on Indigo2 machines also, it reportedly works on them.
2003-09-26 16:58:06 +00:00
lonewolf
3111a2e6ea
Support for HAL2 audio controller attached to the HPC ASIC, found on SGI Indy.
...
The driver is not too heavily tested and only supports audio playback and
master volume setting currently.
2003-09-25 16:35:50 +00:00
lonewolf
b06ea56eff
Fix mistake in previous.
2003-09-18 15:01:33 +00:00
lonewolf
ae33e68d84
Correct offsets for HPC_PBUS_CHx_{BP,DP} and add HPC_PBUS_DMACTL_* definitions.
2003-09-18 15:00:26 +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
ed51729135
__KERNEL_RCSID()
2003-07-15 02:54:31 +00:00
drochner
1a03e79900
don't #include <sys/dkstat.h> where it is (appearently) unused
2003-06-18 08:58:34 +00:00
wiz
1ffa7b76c4
DMA, not dma nor Dma.
2003-05-03 18:10:37 +00:00
thorpej
c9228c8ddd
Use PAGE_SIZE rather than NBPG.
2003-04-02 04:17:50 +00:00
rafal
537bf9a526
Change DS1286 definitions to start with DS1286_ rather than DS_ so these and
...
DS1687 definitions are easier to distinguish.
2003-01-19 22:20:43 +00:00
bouyer
15c016cd08
When padding frames smaller than ethernet minimum size, make sure we supply
...
a buffer long enouth, with the padding bytes initialised.
Also pad to ETHER_MIN_LEN - ETHER_CRC_LEN, not ETHER_MIN_LEN (padded frames
were 4 bytes too long).
2003-01-13 17:13:10 +00:00
thorpej
73f78d5e61
Fix signed/unsigned comparison warnings.
2002-11-09 18:52:20 +00:00
thorpej
a1ef3f204e
Avoid a strict-aliasing warning from GCC 3.3.
2002-11-09 18:49:02 +00:00
thorpej
b96bc0d7bc
Use CFATTACH_DECL().
2002-10-02 04:06:36 +00:00
thorpej
f818766afe
Declare all cfattach structures const.
2002-09-27 20:31:45 +00:00
provos
0f09ed48a5
remove trailing \n in panic(). approved perry.
2002-09-27 15:35:29 +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
rafal
ab8f2fbc01
Add interrupt counter for Seeq interrupts; also, make sure to reset back to
...
"recieve only my frames & broadcasts" and clear the ALLMULTI flag if we have
no multicast addresses in our list.
2002-05-02 20:31:19 +00:00
bouyer
e5727031fb
Implement mstohz() as discussed on tech-kern, and use it in SCSI drivers
...
to convert xs->timeout to callout() parameter.
2002-04-05 18:27:45 +00:00
simonb
707b8da2e8
Replace lots of 8x<space> with <tabs> and other miscellaneous indentation
...
fixes.
Wrap a couple of long lines.
Use <return-type>\n<function name> as per KNF in a few places.
2002-03-13 13:12:25 +00:00
thorpej
a180cee23b
Pool deals fairly well with physical memory shortage, but it doesn't
...
deal with shortages of the VM maps where the backing pages are mapped
(usually kmem_map). Try to deal with this:
* Group all information about the backend allocator for a pool in a
separate structure. The pool references this structure, rather than
the individual fields.
* Change the pool_init() API accordingly, and adjust all callers.
* Link all pools using the same backend allocator on a list.
* The backend allocator is responsible for waiting for physical memory
to become available, but will still fail if it cannot callocate KVA
space for the pages. If this happens, carefully drain all pools using
the same backend allocator, so that some KVA space can be freed.
* Change pool_reclaim() to indicate if it actually succeeded in freeing
some pages, and use that information to make draining easier and more
efficient.
* Get rid of PR_URGENT. There was only one use of it, and it could be
dealt with by the caller.
From art@openbsd.org .
2002-03-08 20:48:27 +00:00
wiz
66df0333a1
s/seperate/separate/
2002-02-11 10:44:38 +00:00
rafal
5e26468b29
Less odious hack for powerfail interrupt; even thought it's still odious,
...
at least now we only attempt to install the handler once.
2002-01-25 04:54:31 +00:00