mycroft
a6fe4b78f2
Um, we need rnd.h so that cs_softc is defined properly. Overrunning structures
...
is bad.
NOTE: #IFDEF IN SOFTC DEFINITIONS IS BAD.
2000-12-26 09:42:21 +00:00
thorpej
e3d7d246bb
Fix a debugging clause missed when fixing full-duplex support.
...
Noted by Wolfgang Rupprecht.
2000-12-20 21:06:41 +00:00
mycroft
045091aa8f
Add a big comment in the previous section of code...
2000-12-19 06:23:26 +00:00
mycroft
463d0e577e
Back out previous change.
...
I removed this once before a long time ago, because it's wrong and breaks
PCMCIA on some machines. It also doesn't fix the Multia problems.
2000-12-19 06:04:02 +00:00
mjl
aaad4d0284
Add quirk for Avance Logic ALS100+, which doesn't like it's irq/drq
...
being set in pnp mode.
2000-12-19 01:09:15 +00:00
thorpej
57a13edc11
Use separate interrupt handlers for play and record the chip has
...
support for it and we're configured for separate play and record
DRQs. This makes full-duplex audio work on the Windows Sound System
(found in many Alpha systems).
Submitted by Juergen Weiss <weiss@uni-mainz.de> in kern/11178.
2000-12-18 21:31:32 +00:00
thorpej
7cc029e16c
Use IST_LEVEL as appropriate. Fixes PCMCIA interrupt problems
...
on the DEC Multia. From Juergen Weiss <weiss@Uni-Mainz.DE>.
2000-12-18 21:17:44 +00:00
bouyer
179157be03
Fix a reversed test.
...
Partial fix for kern/11726: now the kernel find the drives, but panics
after a device has been mounted.
2000-12-17 19:35:23 +00:00
jmc
2967c3fac3
In fdcattach() reset the controller before moving on as some probes (ala pnpbios) may not have reset during match
2000-12-17 07:37:31 +00:00
thorpej
08afcfb9bd
ALTQ'ify.
2000-12-14 06:59:01 +00:00
matt
632d2ad2ee
Don't use __hpcmips__, but hpcmips
2000-12-09 20:35:31 +00:00
matt
3f127261f3
Un __P'ed.
2000-12-06 18:57:37 +00:00
matt
1aa6c9fb10
Add prep support. change all __foo__ to foo. We don't __foo__ in the kernel
2000-11-27 21:51:02 +00:00
takemura
3c9d9276dc
Add new powerhook argument values, PWR_SOFTSUSPEND, PWR_SOFTSTANDBY and
...
PWR_SOFTRESUME. Apm calls powerhook with the values in normal interrupt
priority level while others are protected with splhigh().
2000-11-26 11:08:57 +00:00
jdolecek
c27af44fc0
Add an attachment for MOXA 168P isa multiport card. This code was
...
written by Christoph Badura.
This was reported to work by user of this code. It's not tested
by me, but it's probably more useful in tree anyway.
2000-11-20 19:24:39 +00:00
thorpej
b84f740be0
Move bpfattach()/bpfdetach() calls into ether_ifattach()/ether_ifdetach().
2000-11-15 01:02:11 +00:00
thorpej
275539f03c
NBPG -> PAGE_SIZE
2000-11-14 18:21:00 +00:00
thorpej
fce3c3a6a8
pcweasel carries the sysmon_wdog attribute.
2000-11-05 04:07:30 +00:00
thorpej
95b9ab0ebc
Add a device driver for the Middle Digital, Inc. PC-Weasel serial
...
console board. This glues into the `pcdisplay' driver and provides
support for the watchdog timer function on the PC-Weasel.
2000-11-04 18:47:20 +00:00
thorpej
7575e3d5e9
Update comment regarding watchdog timer toggle.
2000-11-04 18:44:28 +00:00
thorpej
1da5a95dc5
Oops, wdt_msec is a short, not a char.
2000-10-17 00:34:41 +00:00
thorpej
4b0c3e182c
Fix a typo in an constant name that is currently unused.
2000-10-16 23:03:45 +00:00
thorpej
a5e3251d5f
Register definitions for the Middle Digital, Inc. PC-Weasel
...
serial console board.
2000-10-16 22:59:24 +00:00
simonb
5d4fa9b0ce
Revert rev 1.31 of bha.c (and associtated changes in the headers and
...
config glue files).
Fixes PR kern/9841. Tested by Tracy J. Di Marco White with a bt948
and 6 disks.
2000-10-03 14:07:36 +00:00
thorpej
7ca3fb9ef0
Move the check for "promisc + unicast + not for us" into ether_input(),
...
and change Ethernet drivers to always pass all received frames to
ether_input() (with a few exceptions, which are documented in the
code).
2000-10-01 23:32:39 +00:00
tsutsui
f4ef578da7
6 -> ETHER_ADDR_LEN
2000-09-28 10:29:42 +00:00
itohy
572e9e2f80
Move ym_mixer_set_port() (if used) during attach AFTER initialization of
...
power ctl stuff, or it makes unwanted changes to the CODEC settings.
2000-09-04 00:57:17 +00:00
nathanw
5127aa189d
In fdioctl(), allocate fd_formb dynamically when needed, rather than on
...
the stack, and remove the no-longer-necessary PHOLD()/PRELE() calls
in fdformat().
(This eliminates 1/3 of the instances of PHOLD()/PRELE() in the kernel code.)
XXX We still have too many mostly-redundant floppy drivers.
2000-08-24 20:04:28 +00:00
thorpej
f80d70f19a
Just add the mmap argument to vga_common_attach(), don't bother
...
with vga_extended_attach().
2000-08-14 20:14:50 +00:00
thorpej
8cb7deb85b
Add support for the DEC DE422 Ethernet, which is a DEPCA
...
attached to the EISA bus. This board is commonly found
on Alpha Jensen systems.
2000-08-11 02:27:07 +00:00
tv
389bf995b5
%b -> bitmask_snprintf()
2000-08-09 01:56:33 +00:00
briggs
e6dde2bd42
Add MII support to smc91cxx driver. This is supported for the 91c100
...
and 91c100FD (FEAST) controllers. Existing controllers should continue
to work as they have. Added the card's memory to the probe message.
2000-07-30 21:34:47 +00:00
bouyer
a7d2293ea4
My 16 port boca seems to fail to update the interrupt bit in it's interrupt
...
register for a port under high load. The effect is that the port is wedged
waiting for an interrupt that will never come.
Add a callout-based watchdog which periodically (hz/10) scan trough the ports
for missed interrupts.
Problem also noted by Chris Jones, and this fix also helped him.
2000-07-27 20:08:47 +00:00
is
8be010f00d
- Big endianness cleanup:
...
a) use stream methods when transferring data via the MEMPORT into/out of
the chips buffer memory
b) use htole16/le16toh when interpreting 16bit values in the chips memory
Both where NOPs on i386 machines, which is why this worked before on the
test machine(s), but would break when on a big-endian machine.
2000-07-21 13:54:38 +00:00
is
d8205b6db1
Do a dummy read after writing through the memory access pipeline, to flush
...
it, before starting the command to install the multicast list.
(We did it right for writing data packets, but failed here.)
Without this, the last multicast address installed won't be made active.
2000-07-14 10:50:50 +00:00
soren
c675def443
Update comment.
2000-07-12 23:14:09 +00:00
thorpej
d28fe378bc
Use device_lookup().
2000-07-06 02:02:48 +00:00
augustss
8f0fb77674
MAke sure bass&treble start in their mid position.
2000-07-04 10:02:45 +00:00
ad
e211fdee79
Use my proper name in copyrights.
2000-06-30 13:36:47 +00:00
mrg
7e81221f5a
remove include of <vm/vm.h>. <vm/vm.h> -> <uvm/uvm_extern.h>
2000-06-28 16:27:51 +00:00
mrg
4c698e84f6
<vm/vm_param.h> -> <uvm/uvm_param.h>
2000-06-26 14:58:58 +00:00
simonb
889c658b5b
Change the kernel mmap interface so that the offset to map is an
...
"off_t" and the return value is a "paddr_t" to allow mappings
at offsets past 2^31 bytes. Somewhat inspired by FreeBSD, which
only changed the offset to a "vm_offset_t".
Includes updates for the i386, pc532 and sh3 mmmmap from Jason Thorpe.
2000-06-26 04:55:19 +00:00
thorpej
f82e306928
Add a clearing-house pseudo-device for system monitoring devices
...
such as the LM78 and VT82C686A (and eventually ACPI). Multiple
sensor devices can be hooked registered with `sysmon', and eventually
sysmon will also handle hardware (and software) watchdog timers.
Convert the `lm' and `viaenv' drivers to the new interface.
2000-06-24 00:37:19 +00:00
is
a4c83bd5bf
s/sc->sc_ethercom.ec_if./ifp->/ where appropriate and formerly forgotten,
...
for better readability.
2000-06-23 14:07:03 +00:00
is
139e08bead
Only "complain" about successful multicast setup if IFF_DEBUG was set.
2000-06-23 13:54:50 +00:00
cgd
625dbd8f87
in allegedly-MI code, if we're gonna use '#pragma pack(N)', #pragma pack()
...
should be used to reset the packing. (#pragma pack(4) was used here
before. "wrong!")
2000-06-08 18:22:15 +00:00
soren
10e30038a9
Fix braino in previous, pointed out by Jaromir.
2000-06-06 18:42:47 +00:00
soren
63649c5744
Make the frontend print a newline.
2000-06-06 16:27:49 +00:00
tsutsui
8c4d1bf1f9
Adapt MI ncr53c9x changes.
2000-06-05 15:08:00 +00:00
cgd
cffb580806
Implement the more flexiable `evcnt' interface as discussed (briefly) on
...
tech-kern and now documented in evcnt(9).
2000-06-04 19:14:14 +00:00