Commit Graph

38329 Commits

Author SHA1 Message Date
thorpej
c40fa3c4d4 Actually program the DMA mode of the drives into the Cypress
controller.  Fixes a long-standing problem where IDE DMA wasn't
working on the AlphaPC 164SX.
2000-06-06 17:34:22 +00:00
thorpej
1e0957307e Make this build as a regression test with the latest simple lock
changes.
2000-06-06 17:32:50 +00:00
soren
3b8b24cffe Only wait 100 ms instead of 1 s for the SEEPROM to come ready. This is
still plenty for cards with SEEPROM's and reduces the delay on platforms
without, which conveniently also avoids triggering the O2 watchdog timer.
2000-06-06 17:29:40 +00:00
soren
b4b667c0a0 Make ID printing a little more robust in case of problems reading
AC97 registers.
2000-06-06 17:25:52 +00:00
soren
d862695c41 Make 3Com names a little more consistent. 2000-06-06 17:21:42 +00:00
soren
f0d0078f1b Add Olicom GoCard. 2000-06-06 17:19:59 +00:00
soren
cd4324537d Density codes are usually given in decimal, so print them that way. 2000-06-06 17:16:02 +00:00
soren
8b0390203b Some minor diagnostics cleanups. 2000-06-06 16:41:33 +00:00
soren
63649c5744 Make the frontend print a newline. 2000-06-06 16:27:49 +00:00
soren
1ec719ccc0 Add power management hooks. 2000-06-06 16:26:57 +00:00
sommerfeld
f1802cf848 Fix previous change: guard against missing subdevices of pckbc. 2000-06-06 16:21:22 +00:00
soren
4b7ec26c89 One comment too much.. 2000-06-06 16:16:36 +00:00
soren
c4df411abd Add comments for a few drivers and the lines for the Tropic attachment. 2000-06-06 16:15:31 +00:00
tsutsui
499db14bcb sun3 always defines Debugger(), so don't redefine it. 2000-06-06 14:24:05 +00:00
pooka
e1e9261889 fix typo 2000-06-06 14:01:40 +00:00
leo
0118b9d71e _qs -> _sched_qs 2000-06-06 13:44:30 +00:00
augustss
1c94b92bc4 Initialize pointer before doing free of it. 2000-06-06 11:36:21 +00:00
leo
45c84d3f9c Fix prototype definition of findroot(). 2000-06-06 11:09:46 +00:00
pk
8a0d25a707 Oops, type confusion.. 2000-06-06 09:20:31 +00:00
haya
d1421ab5ac Remove unnecessary function arguments. 2000-06-06 08:20:06 +00:00
haya
c93ef01fbf Use entire extent region when PCIBIOS_ADDR_FIXUP is set. PCIBIOS
provides PCI-dedicated memory and io extent.
2000-06-06 08:17:37 +00:00
pk
b5321a5a5c Make the address argument of pcache_flush_page() a `paddr_t'. 2000-06-06 07:56:40 +00:00
kleink
05d7f969b9 Regen. 2000-06-06 07:55:50 +00:00
kleink
aed5858e8b Add the product ID for the ESS Maestro 3 modem function as well. 2000-06-06 07:55:17 +00:00
jhawk
be69eea9ae First cut at an outline of stuff to do. 2000-06-06 05:41:54 +00:00
jhawk
b756e7384d Stop using DDB-specific "%n" kprintf() format specifier. This was
important as db_sym() can be called through printf() rather than
db_printf(), causing a trap as the standard %n usage is invoked.

The DDB-specific %n code should disappear from subr_prf.c soon...
2000-06-06 05:06:25 +00:00
thorpej
c791fe193f Give the sio' and pceb' drivers the `82c693' attribute. 2000-06-06 03:10:55 +00:00
thorpej
f3d9d1ac8a Use the common 82c693 access functions to read/write the ELCR. 2000-06-06 03:10:13 +00:00
thorpej
21d9669e4f Common routines for read/writing Cypress 82c693 control registers. Needed
by `pciide' and the Alpha `sio' (PCI-ISA bridge) driver.
2000-06-06 03:07:39 +00:00
soren
d8e5d1fa7d Add rnd(4) glue for the MIPS3 cycle counter. 2000-06-06 02:24:00 +00:00
sommerfeld
bbca3924cd Replace "timestamp" with "counter" in previous change, to avoid any
possible confusion that it has anything to do with accurate
measurement of time.

New names:
	__HAVE_CPU_COUNTER
	cpu_counter()
	cpu_hascounter()
2000-06-06 01:33:15 +00:00
thorpej
f65502fc36 Report which compatibility IRQ the PCI IDE gets. 2000-06-06 00:50:15 +00:00
nisimura
3ca4913346 One more fix escaped from iointr() change. 2000-06-06 00:47:21 +00:00
nisimura
72f372eca2 Add a missing parenthesis and correct the function return value declaration. 2000-06-06 00:27:58 +00:00
nisimura
8c8d3119f0 Make sure model specific cpu_intr() routines call _splset() as the last
action.
2000-06-06 00:08:24 +00:00
nisimura
2f3e73fe03 Withdraw this configuration. NetBSD/pmax GENERIC is now switched to
MI SCSI.
2000-06-06 00:02:24 +00:00
jhawk
c063b64a2b Do not clear msgbufenabled in dumpsys(). Dump messages will now go to
the message buffer. This can be invaluable in debugging if the dump
fails (assuming a persistant message buffer)
2000-06-05 23:44:55 +00:00
sommerfeld
7497ddcce5 /dev/random code cleanups:
- Add comments about which spls apply to which data structures.
 - Consistently protect the rnd_samples queue (the queue of
unprocessed samples) at splhigh().
 - allow MD code to supply cpu_timestamp() and cpu_havetimestamp() for
an optional higher-resolution clock/roulette wheel source.
 - Collect more statistics on the pool state (keeping track of where
collected bits are going, in addition to where they came from).
 - Add RNDGETPOOLSTAT ioctl to get the additional stats.
 - Flush a few unused rndpool calls.
 - XXX XXX Cryptographic changes:
  - 32-bit rotate is:
	((val << rp->rotate) | (val >> (32 - rp->rotate))),
    not
	(val << rp->rotate) | (val >> rp->rotate)
    or
	((val << rp->rotate) | (val >> (31 - rp->rotate)))
  - Avoid overloading of rp->rotate and double-rotation of data
(which limited pool mixing somewhat; "rotate" never got above 7).
  - Be more paranoid (but probably not paranoid enough) about mixing
output back into the pool.  This is an improvement, but it needs
revisiting soon.

We should follow the spirit of some of the recommendations in
the Schneier PRNG papers:

http://www.counterpane.com/yarrow-notes.html
http://www.counterpane.com/pseudorandom_number.html

including:
 - two (or more) stage operation for better isolation between inputs
and outputs.
 - use of keyed one-way functions (probably better even than
invertible keyed functions like 3DES) at key points in the data flow,
so that breaking the PRNG is clearly as hard as breaking the function.
2000-06-05 23:42:34 +00:00
cgd
489af6e337 fix pasto pointed in the evcnt changes pointed out by Robert Swindells 2000-06-05 23:28:20 +00:00
gmcgarry
fc43b2daa3 Replaced by xi(4). 2000-06-05 23:21:35 +00:00
gmcgarry
d0241b393f Replace references to xe with xi. Clarify description to avoid
confusion with the Xircom tlp-based cards.
2000-06-05 23:18:50 +00:00
gmcgarry
3129070fd6 New driver for Xircom CreditCard PCMCIA Ethernet. Replaces xe driver which
didn't work.  Renamed to avoid clash with next68k network driver.
2000-06-05 23:14:22 +00:00
gmcgarry
63ce2b1954 Clean up usage of XIRCOM/TDK identifiers. 2000-06-05 23:06:31 +00:00
gmcgarry
923b803b77 Regen. 2000-06-05 23:05:30 +00:00
gmcgarry
b1cff781b9 - Clean up XIRCOM entries
- Add entry for Xircom CreditCard Ethernet + Modem 28
- Add entry for Intel EtherExpress PRO/100
- Add entry for Compaq Netelligent 10/100 Ethernet
2000-06-05 23:04:04 +00:00
gmcgarry
c2a8e26e11 - remove conditional compilation on NAUDIO
- use preprocessor for constants
2000-06-05 23:02:04 +00:00
sommerfeld
bcf02ec8ff If rnd is configured into the kernel, do rnd(4) entropy collection
from devices connected to pckbc:
 - Do actual sample collection in pckbc.
 - Add rndsource_element_t to the slot data.
 - Change pckbc_set_inputhandler() to take an additional argument,
the name of the device, which is (eventually) passed into
rnd_attach_source() to identify the source.
 - Change callers of pckbc_set_inputhander() appropriately.
2000-06-05 22:20:54 +00:00
thorpej
b0ce38fd8a Switch to the new `evcnt' mechanism for counting interrupts. Maintain
a per-CPU interrupt counter for clock, device, and interprocessor
interrupts.
2000-06-05 21:47:26 +00:00
bouyer
0e7cd755f4 use the correct variable in a debug printf(). 2000-06-05 21:47:25 +00:00
thorpej
2668e3b213 Switch to the new `evcnt' mechanism for counting interrupts. Maintain
a per-CPU interrupt counter for clock, device, and interprocessor
interrupts.
2000-06-05 21:47:10 +00:00