thorpej
ab635a46d3
Slight change to previous.
2000-05-03 19:15:27 +00:00
thorpej
2d66ccbd13
Don't return an uninitialized error code.
2000-05-03 18:58:37 +00:00
thorpej
01e8438aa8
Fill in ccb->ccb_req.sgcount with the value that's guaranteed to
...
be initialized.
2000-05-03 18:58:15 +00:00
jdolecek
02710dee26
Make the ntfs entry in fscknames NULL - there is no fsck_ntfs.
...
Pointed out by Andy Doran in private e-mail.
2000-05-03 18:28:46 +00:00
mycroft
d0d92c23d0
Use USBD_NORMAL_COMPLETION in the previous.
2000-05-03 18:21:36 +00:00
mycroft
ffe599486c
When emulating UHF_PORT_POWER for the internal hub, make sure to initialize
...
the status return value.
2000-05-03 18:14:49 +00:00
ad
cd1719f273
Remove obsolete comment.
2000-05-03 14:53:15 +00:00
sommerfeld
4d573016ed
Let MULTIPROCESSOR && LOCKDEBUG case compile again
2000-05-03 13:53:59 +00:00
kleink
bd2d21b5d1
Display the VPD's PrintableModel item on startup.
2000-05-03 11:39:54 +00:00
veego
21dea2100c
Resolve conflicts.
2000-05-03 11:12:03 +00:00
jdolecek
8bcd56bd12
make lkm_name in struct lkm_* a const
2000-05-02 22:13:20 +00:00
bouyer
3bb9a5f666
- do sync/wide negotiation
...
- use a circular queue for the start slots, so that order has better chances
to be preserved.
2000-05-02 19:03:02 +00:00
nonaka
ad9dd901f1
mbr partition table parameter is little endian.
...
need to bswap.
2000-05-02 18:19:01 +00:00
nonaka
93f867f485
LABELOFFSET 42 -> 64
2000-05-02 18:13:04 +00:00
nonaka
2ed0c0fe88
add cn_bell to struct consdevs pccons.
2000-05-02 18:11:07 +00:00
uch
89cb6ad8b8
forgot to commit TX3912.
2000-05-02 18:00:54 +00:00
uch
3c873423e1
add ioctl, mmap.
...
hpcfb directly attach to tx3912video and plumvideo. (no longer use bivideo)
XXX CLUT
2000-05-02 17:50:51 +00:00
uch
9dccb575be
change hpfcb_cnattach interface to adopt current implementation.
2000-05-02 17:45:15 +00:00
sommerfeld
a5ff71cecc
One more __attribute__((__packed__)) to dissuade egcs from making
...
unwarranted asumptions about the structure's alignment.
2000-05-02 14:15:07 +00:00
pk
c49e7076d3
Simplify pmap_page_protect(); modelled after a similar change by
...
Art Grabowski in Openbsd.
2000-05-02 13:06:27 +00:00
itojun
aee9bb5b5f
IPv6CP support. if IPv6 link-local address is configured to the interface,
...
the interface tries to negotiate ifid with the other end by using IPv6CP.
other changes:
- do not share ppp sequence number across protocols.
- if LCP proto-rej is received, drop the protocol mentioned by the message.
this is to be friendly with non-IPv6 peer (if the peer complains due to
lack of IPv6CP, drop IPv6CP). this basically implements "RXJ+" state
transition in the RFC.
- cleanup debugging message. always print blank just before message.
CAVEAT:
- if the peer uses the same MAC address as our side (pretty unlikely)
the code may go into req-rej loop.
- even though we negotiate ifid, we don't configure destination address
onto the interface. it is not really necessary to do so (IMHO).
- I've tested this code on a NetBSD 1.4.2 node, which was with fair amount
of modifications. not sure if the committed code does it right... (please
test and send reports)
2000-05-02 12:43:16 +00:00
augustss
9f9f06401c
Add (commented out) cms(4) driver.
2000-05-02 11:00:56 +00:00
pk
d46e0d77c0
Remove unused code: getptesw4m(),setptesw4m()
2000-05-02 10:35:06 +00:00
pk
716a862d08
Lock internals have changed, and we depend on those in here.
2000-05-02 09:29:39 +00:00
augustss
8abcd395fd
Add bba(4) attachment.
2000-05-02 08:04:24 +00:00
augustss
e15d2472fa
Fix typo.
2000-05-02 08:03:53 +00:00
augustss
087a67c892
Add proper bba attachment. From Gregory McGarry <g.mcgarry@ieee.org>
2000-05-02 08:02:07 +00:00
augustss
c6df4d8830
Comment out bba since I don't really know if it's right.
2000-05-02 07:23:56 +00:00
augustss
05ef4c3d35
Add bba(4) attachment at tc.
2000-05-02 07:22:26 +00:00
augustss
621ef4d785
Add am7930 audio driver.
2000-05-02 06:43:05 +00:00
augustss
361f2141f7
Adapt to new am7930 driver. PR 10033 from Gregory McGarry.
2000-05-02 06:35:12 +00:00
augustss
f9dbbf4c92
Make am7930 driver machine independent. PR 10032 from Gregory McGarry.
2000-05-02 06:30:49 +00:00
thorpej
39f8e55cfc
On the m68k, the most efficient type for __cpu_simple_lock_t is
...
an unsigned char, since that is what the `tas' instruction uses.
While I'm here, implement the __cpu_simple_lock family of routines.
Why? One, because they're easy. Two, so Steve can get master/slave
MVME systems talking across the backplane. :-)
2000-05-02 05:17:45 +00:00
thorpej
855b79db92
Let each platform typedef the new __cpu_simple_lock_t, which should
...
be the most efficient type used for the atomic operations in the
simplelock structure, and should also be __volatile.
2000-05-02 04:41:04 +00:00
thorpej
8185691694
- If a platform defines __HAVE_ATOMIC_OPERATIONS, use them for counting
...
in the MULTIPROCESSOR case.
- Move a misplaced #ifdef so that LK_REENABLE actually works.
2000-05-02 04:32:33 +00:00
nathanw
8ca78ff825
In siop_lookup_product(), actually check the PCI *vendor* ID as well as the
...
product ID.
Prevents false matches of other devices, such as the DEC 21050 ppb.
2000-05-02 03:59:35 +00:00
thorpej
712326ecbd
Traditionally, the floppy controller was configured at 0x3f0 for 8 ports,
...
but the registers actually begin at 0x3f2, and this is what PNPBIOS reports
for the floppy controller resources. Adjust the register offsets and the
mapping of them for the ISA front-end to compensate, so that the PNPBIOS
attachment of the floppy controller actually works.
2000-05-02 03:33:45 +00:00
thorpej
5e915fcab9
Nuke some dead code.
2000-05-02 03:32:09 +00:00
augustss
c7d698ac41
Support recording conversions that change the sample size. PR 10029, from Gregory McGarry.
2000-05-02 00:00:00 +00:00
augustss
2365a92cb5
Add Creative Music System driver. From Gregory McGarry <g.mcgarry@ieee.org>
2000-05-01 22:48:33 +00:00
augustss
4e1e58e353
Change the way the codec is access to mimic how Linux&FreeBSD does it.
2000-05-01 17:15:41 +00:00
augustss
07f142cd50
Add some more debug output.
2000-05-01 17:10:40 +00:00
pk
91ec70f36d
- De-inline VA2PA(); it isn't in any time-critical path. Saves a bunch of space.
...
- Disable special-cased viking cache flushing in setpgt4m(). This work-around
should no longer be necessary.
- Remove some misc. dead code.
2000-05-01 15:19:46 +00:00
tsutsui
9498452c05
- Move some initialization into MI rl_attach() from each bus attachment.
...
- Use proper CARDBUS_* macro in if_rl_cardbus.c
- Use product ID read from PCI configuration space rather than from EEPROM
in if_rl_pci.c.
Patch sent from Masanori Kanaoka <kanaoka@ann.hi-ho.ne.jp> and
some cosmetic changes by me.
2000-05-01 15:08:50 +00:00
pk
d4ac7f24ca
Implement HyperSPARC specific pmap_{zero,copy}_page functions.
2000-05-01 14:06:41 +00:00
pk
784c538c3f
Add definitions of HyperSPARC block fill/copy ASIs.
2000-05-01 14:05:53 +00:00
ragge
8ddd256f57
Call uvm_pageidlezero() in idle loop.
2000-05-01 12:11:50 +00:00
ragge
a5a1a12d83
#define __SIMPLELOCK_LOCKED and __SIMPLELOCK_UNLOCKED.
2000-05-01 12:09:32 +00:00
kleink
0344f24921
Like, really block soft clock interrupts.
2000-05-01 10:52:29 +00:00
kleink
2c9e3487e0
Bump default data size to 32 MB.
2000-05-01 10:43:42 +00:00
soren
ac6e6c980d
Add Seeq 8003 register definitions.
2000-05-01 08:06:17 +00:00
takemura
6bd45ff6c3
We should not report button down event while we don't know where it occur.
2000-05-01 07:40:05 +00:00
takemura
7d3231b37a
Mouse move event should be made before mouse bown event. Without that,
...
you may got a mouse down event in strange plase.
2000-05-01 07:36:58 +00:00
thorpej
a2edf1690f
Fix a declaration inside __ldstub().
2000-05-01 00:46:29 +00:00
soren
e038e8aac1
No need for flushing the cache after zeroing a page uncached.
2000-04-30 23:30:47 +00:00
simonb
21666d1ea5
Only call uvm_pageidlezero() if uvm.page_idle_zero is set.
2000-04-30 23:01:24 +00:00
simonb
0ba4762798
Define offset for uvm.page_idle_zero.
2000-04-30 22:56:12 +00:00
augustss
fec9706315
Remove unneeded #include "mpu.h"
2000-04-30 22:16:56 +00:00
pk
e327115496
FIx declaration in __ldstub.
2000-04-30 22:15:30 +00:00
augustss
4a30060c43
Add C-Media CMI8x38, cmpci.
2000-04-30 22:00:54 +00:00
augustss
aaa405eab7
Add driver for C-Media CMI8x38 Audio Chip. From Takuya SHIOZAKI <AoiMoe@imou.to>
2000-04-30 21:59:58 +00:00
pk
6832a2d6c9
Arrange to call uvm_pageidlezero() from idle loop.
2000-04-30 21:32:44 +00:00
pk
88fc960805
Define offset for uvm.page_idle_zero.
2000-04-30 21:29:16 +00:00
pk
1b8cac1bd9
Implement MXCC versions for pmap_{zero,copy}_page().
2000-04-30 21:22:28 +00:00
pk
78391926bf
Allow for CPU specific page clear and page copy functions.
2000-04-30 21:09:43 +00:00
dante
d7592a72fe
Update comment in adw*
2000-04-30 19:08:19 +00:00
dante
1dbea6c0f9
Add new microcode for all of the supported boards.
...
Fix minor glitches.
Add preliminary support for ASB-3940U3W host adapters; it might work w/ autotermination on.
ASB-3940U3W support is not yet tested due to lack of board.
2000-04-30 18:52:14 +00:00
dante
ff84aeb762
Add ASB-3940U3W host adapters (AdvanSys)
2000-04-30 18:46:18 +00:00
uch
77e7c7ee2c
skbd_ioctl (not implemented yet) returns -1 not 0.
2000-04-30 18:43:37 +00:00
dante
d2679acf60
Add ASB-3940U3W host adpeter (AdvanSys)
2000-04-30 18:34:53 +00:00
minoura
a8580db029
Revert 1.18 change.
...
Hopefully this is a temporary fix; something might be missing in
the SCSI negotiation.
2000-04-30 16:06:20 +00:00
pk
99ef6f17b5
Remove not-so-useful `#if DEBUG' code.
2000-04-30 14:23:29 +00:00
pk
3c5ac0b689
Rename MXCC control register.
2000-04-30 14:19:37 +00:00
pk
7373241c4c
Rename MXCC control register.
...
Add MXCC stream register definitions.
2000-04-30 14:18:52 +00:00
tsutsui
439b360ab9
Modify EEPROM read functions and handle also 9356 EEPROM.
...
Fixes kern/9861.
2000-04-30 12:00:40 +00:00
ragge
e623cd6f8f
Discard these old leftovers from the IMP and trailer days!
2000-04-30 11:50:50 +00:00
ragge
c7204b15d4
Ubareset() changed.
2000-04-30 11:47:21 +00:00
ragge
6f6bea9eed
Change to use new ubareset() functionality.
2000-04-30 11:46:49 +00:00
ragge
6758522763
Add function uba_reset_establish() to register reset functions like
...
uba_intr_establish(). Basic framework for resource (BDP) allocation,
not yet finished.
2000-04-30 11:46:03 +00:00
ragge
8995505723
Rewritten (most of) the DEUNA/DELUA driver. No more data copy, packet
...
header fiddling and forget driver support for trailers.
2000-04-30 11:43:26 +00:00
mycroft
26d692df9e
Use DHCP, not BOOTP. At least with dhcpd, the root path gets dropped due to
...
lack of space in the reply when using BOOTP.
2000-04-29 22:18:31 +00:00
soren
1e0aa36da8
ECOFF hook is in arch/mips.
2000-04-29 21:47:59 +00:00
soren
f820567ce2
Allow non-pmax to use COMPAT_ULTRIX.
2000-04-29 21:47:13 +00:00
soren
a1bad64e9a
exec_ecoff.h is not used here.
2000-04-29 21:45:27 +00:00
thorpej
1dcdb13c04
Implement __cpu_simple_{,un}lock{,try}(), modeled after the Alpha
...
implementation.
2000-04-29 19:39:51 +00:00
soren
082109d0e4
Move free page zeroing to before the whichqs spinner. Pointed out by simonb.
2000-04-29 14:44:42 +00:00
thorpej
dc8f3d3b3f
Oops, install <machine/lock.h> on these systems, too.
2000-04-29 03:45:42 +00:00
thorpej
f51470a514
Require that each each MACHINE/MACHINE_ARCH supply a lock.h. This file
...
contains the values __SIMPLELOCK_LOCKED and __SIMPLELOCK_UNLOCKED, which
replace the old SIMPLELOCK_LOCKED and SIMPLELOCK_UNLOCKED. These files
are also required to supply inline functions __cpu_simple_lock(),
__cpu_simple_lock_try(), and __cpu_simple_unlock() if locking is to be
supported on that platform (i.e. if MULTIPROCESSOR is defined in the
_KERNEL case). Change these functions to take an int * (&alp->lock_data)
rather than the struct simplelock * itself.
These changes make it possible for userland to use the locking primitives
by including <machine/lock.h>.
2000-04-29 03:31:45 +00:00
perseant
37f567639c
Test whether the filesystem is an LFS before trying to read the alternate
...
superblock (whose disk address is stored in the primary superblock). Also,
refuse to mount a filesystem whose superblocks overlap or where the alt.
superblock has a lower disk address than the primary superblock.
Solves PR#10001.
2000-04-29 00:23:00 +00:00
mycroft
73ac8c709b
Add a concept of the `background attribute'. This is the same as the
...
current attribute, but has all non-color flags turned off. Use this when
doing erasure, as this allows us to optimize repainting in curses.
XXX The way the default attribute is handled is totally bogus and needs to
be fixed.
2000-04-28 21:56:16 +00:00
augustss
23bcab075a
Don't request sense after INQUIRY. From FreeBSD & OpenBSD.
2000-04-28 21:34:05 +00:00
augustss
d2e2dce826
Regen.
2000-04-28 20:54:39 +00:00
augustss
0b9c397110
Add 2 more eap audio devices.
2000-04-28 20:54:10 +00:00
soren
9c2835a1c4
Make sure to read the clock before we leave the 'cold' state.
2000-04-28 19:58:04 +00:00
soren
2cfb26c801
Zero free pages in the idle loop.
2000-04-28 19:25:55 +00:00
is
4cacfc5684
change 10base-t media _setting_ to set autodetect instead.
...
Contrary to what the rtl8019 docs say, this seems to be necessary.
Observed by myself when implementing non-auto earlier, and independently
complained about by Antti Kante in PR 9962.
2000-04-28 17:49:03 +00:00
uch
bd5f21ffeb
add PCIBIOS_ADDR_FIXUP, PCIBIOS_IRQS_HINT configuration. and its sample.
2000-04-28 17:23:51 +00:00
soren
78a464a74d
Add microtime().
2000-04-28 17:23:40 +00:00
uch
cc30f00dd3
PCI I/O address fixup routine.
...
When BIOS don't asign PCI I/O address space to device,
allocate it without conflict and write to PCI configuration header.
2000-04-28 17:19:10 +00:00
uch
e3c3882828
PCIBIOS_IRQS changed to PCIBIOS_IRQS_HINT. PCIBIOS_IRQS_HINT is
...
used when no IRQ guess. when at least 1 PCI device configured
correctly, unused.
2000-04-28 17:15:15 +00:00
uch
bbb8c56fcb
add PCI_MAPREG_PPB_END (PCI-PCI bridge) PCI_MAPREG_PCB_END (PCI-Cardbus bridge)
2000-04-28 17:12:45 +00:00
soren
99e6adf31e
Adapt to cpu_intr() change.
2000-04-28 15:55:51 +00:00
ad
db06ac868b
Attach cac* and ca*.
2000-04-28 13:51:56 +00:00
ad
8f9b06a9e6
- Enable ca(4) device.
...
- Fix a couple of nits.
2000-04-28 13:50:25 +00:00
ad
ab2d7be096
Add missing cdevsw and chrtoblktbl entries.
2000-04-28 13:28:42 +00:00
simonb
3c359c262d
The size of the members of struct ultrix_utsname were nothing like
...
reality - adjust and fill in "version" the same way that some other
compat routines do. An Ultrix "uname -a" returns something meaninful
now instead of just "NetBSD ".
2000-04-28 12:52:52 +00:00
augustss
308fa27a0d
Unmute some mixer controls by default. From OpenBSD.
2000-04-28 12:39:59 +00:00
jdolecek
520f9dc581
pasfind(): avoid silly bug - if bus_space_map() of SB I/O space failed,
...
we used bad label and tried to bus_space_unmap() invalid memory
region
Fixes port-i386/9992 by Jarkko Teppo <jate@uwasa.fi>.
2000-04-28 08:51:42 +00:00
shin
e3d2f0ae85
delete obsolete 'options MIPS_16K_PAGE'.
2000-04-28 07:19:33 +00:00
thorpej
0b3af10371
Keep track of current power state (resumed, standing by, suspended), and
...
only perform standby/suspend/resume actions if the state actually changes.
Inspired by some similar code in the USB code, pulled into here so that
the workaround isn't needed in every driver.
2000-04-28 04:48:51 +00:00
tsutsui
61e3f39169
Fix copyright notice as per request from the author.
2000-04-28 03:48:56 +00:00
matt
70d4422b8a
Dump NRCV to 8 from 5. Note that a 8K NFS reply takes 6 full size
...
Ethernet packets so the chances are that if the server was fast enough
this driver would continuously lose one of the fragments. Eventually
causing the kernel load to fail. Add 2 extra for random ARP or other
packets that might be picked up.
2000-04-28 00:08:51 +00:00
is
e6f57d38e4
Fix thinko in fix for fix for cf_unit abuse.
2000-04-27 21:11:07 +00:00
uch
e14885d915
fix comment.
2000-04-27 19:38:23 +00:00
bouyer
fcf693203f
More big-endian fixes from Izumi Tsutsui.
2000-04-27 16:49:07 +00:00
itojun
57434b944b
misuse of free(ia) in #if 0'ed region.
...
From: Lennart Augustsson <lennart@augustsson.net>
2000-04-27 16:44:19 +00:00
thorpej
a8b12af644
- When we get an ABOUT_TO_CHANGE event, send an OK message in response
...
so that the docking/undocking process can actually complete.
- Track the current docking state, and report the current state when it
changes.
- Make it possible to enable pnpbios verbosity at run-time.
2000-04-27 16:41:59 +00:00
itojun
7e72267252
correct in6_ifdetach(). free oia, not ia.
...
From: Lennart Augustsson <augustss@augustsson.net>
2000-04-27 15:39:05 +00:00
augustss
30c20f930f
Change my email address.
2000-04-27 15:26:44 +00:00
augustss
91878e8679
Reorder some #defines.
2000-04-27 15:25:36 +00:00
bouyer
fe54b787dc
Add NetBSD RCS Id and copyrigth notice.
2000-04-27 14:08:09 +00:00
bouyer
bf7a94ec2b
Fix copyrigth notice.
2000-04-27 14:06:57 +00:00
bouyer
2fb93595b2
Note siop changes.
2000-04-27 12:48:59 +00:00
soren
88bf41a16e
Use siop(4).
2000-04-27 10:52:43 +00:00
oster
db11351ced
Make sure the config structure allocated during autoconfiguration actually
...
gets initialized properly. Should fix PR#9816.
2000-04-27 00:57:48 +00:00
itojun
b360c656a0
temporary workaround against GIF NUD issue (when you configure globals
...
onto GIF, NUD prevents packet from going out)
KAME PR 245. From: Andreas Wrede <andreas@planix.com>
2000-04-27 00:33:47 +00:00
thorpej
43db473cbb
Clean up the docking-event related message, and make it possible to
...
debug docking events without having to debug the rest of PNPBIOS.
2000-04-26 20:33:46 +00:00
bouyer
ce7f4dafe1
Big-endian fixes from Izumi Tsutsui.
2000-04-26 20:00:31 +00:00
thorpej
ef25b7769e
Regen.
2000-04-26 17:30:59 +00:00
thorpej
0defe75e76
Add product ID for the PLX Technology 9060ES PCI bus controller. Note this
...
ID isn't normally seen, as just about every device with a PLX on it loads
a different ID from an EEPROM, but there's no harm in documenting it.
2000-04-26 17:30:35 +00:00
ad
d5d441a516
- Bump xfer size limit to the maximum allowable.
...
- 20 CCBs is enough to maintain a constantly stuffed inbound FIFO.
2000-04-26 15:58:01 +00:00
ad
75bb77ed56
- Rearrange some spl*() calls to be as intended.
...
- Scan cac_cd in cac_shutdown(), don't use a SIMPLEQ.
2000-04-26 15:54:02 +00:00
tsutsui
b4f524c223
- Allocate mbuf dynamically on Tx and use bus_dmamap_load_mbuf(9).
...
- Call bus_dmamap_sync(9) as appropriate.
- Leave only register declarations in rtl81x9reg.h and
split other stuff into rtl81x9var.h.
bus_dma(9) code mostly taken from thorpej's if_rtp.c.
2000-04-26 14:02:34 +00:00
bouyer
4e9473a1e7
ifa_ifwithnet(): for the netatalk case, don't blindly return the first match
...
but try to find a exact match first. Closes kern/9957.
2000-04-26 13:38:13 +00:00
itojun
3075a916cc
sync with more recent kame. defer inclusion of net/if_gif.h.
2000-04-26 05:36:41 +00:00
mhitch
7d9369f3d3
Fix callout change for keyboard repeat. The callout structure was
...
incorrectly added as a union member which overlaid the keyboard
state structure. Fixed by moving the callout structure into to
keyboard state structure.
2000-04-26 04:16:17 +00:00
thorpej
8b8597dae0
Recognize the Crystal CS4297A codec, and add a couple of macros
...
to manipulate AC97 codec IDs.
2000-04-26 00:00:41 +00:00
bouyer
eba93ce7d2
Ops, need to restore correct DSA value after a phase mismatch, we may have
...
been interrupted during a S/G operation.
2000-04-25 20:02:33 +00:00
bouyer
88be4752d0
- Change the script to start new commands in an asyncronous way, using
...
'command slots' in which the host can put command and wait for the script
to start them
- Change siop.c to do full disconnect/reslelect, allowing as much as one
command per target/lun to run in parallel.
- Fix bug in registers init where a board without BIOS would end at
ID 0 (now the driver works on alpha too).
- better handling of messages, sending back a MSG_EXT_SDTR in response to an
incoming MSG_EXT_SDTR, and MSG_MESSAGE_REJECT for unhandled messages.
- fix use of bus_dmamap_sync() and htole32().
- supports shared interrups
- change some int8 and int16 to int, for alpha and mips benefits ( suggested by
Toru Nishimura)
2000-04-25 16:27:05 +00:00
tsubai
151b83e2e1
Add ex* at pci and rtk* at pci.
2000-04-25 16:05:06 +00:00
bouyer
5ee6872b46
- Add support for NOP instruction
...
- fix dsp value for second operand of memory move, so that patch list will be
correct.
2000-04-25 16:01:16 +00:00
mrg
dab52c26ad
- add a note about streaming buffers and US IIi not having them.
...
- make some debugging messages in iommu_remove() saner and add some more.
- decrement 'len' in the no streaming buffer case, also.
- in iommu_dvmamem_map(), do not enter these mappings into the IOMMU,
only into the CPU (the former is done at _load time).
- make a panic that shouldn't happen a DIAGNOSTIC.
2000-04-25 14:59:38 +00:00
augustss
df70862e8c
Insert (very conservative!) bus_space_barrier() calls at all register accesses.
...
The bus_space(9) man page says you've gotta have them...
2000-04-25 14:28:13 +00:00
tsutsui
6369b56c99
Fix two endian problems. rtk now works on macppc.
...
- Use le32toh() on reading rxstat from the Rx DMA buffer.
- rl_read_eeprom() should return EEPROM values in little endian
when caller requires byte-stream data.
bus_dma(9) fixes are still on-going.
XXX rtk on macppc seems to make tons of CRC errors...
XXX Does it work fine on i386 or others?
2000-04-25 14:16:46 +00:00
tsubai
1be338dabc
GC VM_MBUF_SIZE.
2000-04-25 12:31:10 +00:00
tsubai
63fca4fecb
Use P1SEG to map pool pages.
2000-04-25 12:17:06 +00:00
augustss
74beeca710
Move the size of the mapped bus_space region into the bus independent softc.
2000-04-25 09:20:54 +00:00
uch
f49b235cc0
remove COMPAT_386BSD_MBRPART
...
remove COMAPT_13, COMPAT_14. hpcmips appears NetBSD 1.5.
2000-04-25 06:20:14 +00:00
itojun
7d20d62f25
ipip is needs-count, not needs-flags. evidence: manpage and all
...
sys/arch/*/conf/GENERIC has count.
2000-04-25 06:08:31 +00:00
matt
1fe20bbb39
be a bit more defensive in the probe routines. only allow one attachment.
2000-04-24 21:59:22 +00:00
matt
d32950cb7e
Add cd9660 support to the secondary boot blocks.
2000-04-24 21:46:07 +00:00
perseant
4ea5a53003
get rid of unused variable aflags
2000-04-24 19:07:16 +00:00
augustss
aae26d0d0c
Move a test if the MIDI is open outside a loop in the interrupt routine.
...
Some stylistic changes.
2000-04-24 17:55:24 +00:00
thorpej
23694b5ab3
Glue in uvm_pageidlezero(). While here, improve some panic messages
...
in pmap.c, as requested by Jonathan Stone.
2000-04-24 17:18:16 +00:00
thorpej
9ec517a68e
Changes necessary to implement pre-zero'ing of pages in the idle loop:
...
- Make page free lists have two actual queues: known-zero pages and
pages with unknown contents.
- Implement uvm_pageidlezero(). This function attempts to zero up to
the target number of pages until the target has been reached (currently
target is `all free pages') or until whichqs becomes non-zero (indicating
that a process is ready to run).
- Define a new hook for the pmap module for pre-zero'ing pages. This is
used to zero the pages using uncached access. This allows us to zero
as many pages as we want without polluting the cache.
In order to use this feature, each platform must add the appropropriate
glue in their idle loop.
2000-04-24 17:12:00 +00:00
matt
b7de2c5900
Add lcgreg.h.
2000-04-24 17:09:56 +00:00
matt
7964d80339
Initial definition of registers for VS400 LCG cards. Still needs more.
2000-04-24 17:09:03 +00:00
tsutsui
6f9392b42a
Merge changes of sys/pci/if_rl.c rev. 1.8->1.10. (from kern/9870)
...
Also remove unused pbase, vbase and PCI_CAP_PWRMGMT declarations.
2000-04-24 15:25:00 +00:00
ragge
c6a9a48f2e
Add 4000/90 to the countdown hack.
2000-04-24 14:45:30 +00:00
uch
6d1291a469
code clean up.
2000-04-24 13:02:13 +00:00
uch
814e39b9e3
add COMPAT_386BSD_MBRPART
2000-04-24 12:59:43 +00:00
uch
3be17707f3
remove #ifdef alpha
2000-04-24 12:58:32 +00:00
tsubai
88a555948c
Sync with current i386 pmap.c.
2000-04-24 08:40:21 +00:00
mhitch
62c210a97b
Fix bootblock countdown for 4000/VLC.
2000-04-24 07:03:27 +00:00
augustss
4d0217d2c1
Remove item.
2000-04-23 23:21:32 +00:00
augustss
007a7dbfd8
Update with new files.
2000-04-23 23:19:36 +00:00
perseant
eedb742e6e
Fix problems outlined in PR#9926:
...
- lfs_truncate extends the file if called with length > i_ffs_size;
- lfs_truncate errors out if called with length < 0;
- lfs_balloc block accounting corrected for the case of blocks read
into the cache before they exist on disk;
- mp->mnt_stat.f_iosize is initialized in lfs_mountfs.
2000-04-23 21:10:26 +00:00
matt
9148a41e81
fix booted_qe case to compare locators against controllers.
2000-04-23 20:30:37 +00:00
tsarna
da1f2723c4
Addredd port-i386/9897, but differently. Since the effect of resetting
...
the video mode on machines with ancient or no video cards is not clear,
for safety's sake a I created a new biosboot variant, biosboot_resetvideo
that does the call.
Anyway, now I can boot my i-opener without hitting Tab. Thanks Andrew!
2000-04-23 19:57:12 +00:00
mhitch
437d090c28
Long term bug finally reared its head: size of device softc was specified
...
as sizeof(struct device) when amiga switched to new config, and recent
additions of callout structures and a long missing struct device to the
soft structure resulted in kernel panics when attempting to open the builtin
serial port. The callout structure initialization was clearing the serial
port softc data! Fixed by using sizeof(struct par_softc).
2000-04-23 19:55:51 +00:00
augustss
0e5c7f55af
Regen.
2000-04-23 19:35:35 +00:00
augustss
23f3c0074f
Sync with FreeBSD: add two more adapters.
2000-04-23 19:03:45 +00:00
thorpej
bfced25d78
Update with reality.
2000-04-23 17:51:21 +00:00
thorpej
d0271b127d
Add PNPBIOS front-end for the PC Floppy Controller driver.
2000-04-23 17:50:00 +00:00
thorpej
0cde36f780
Carve off the ISA configuration bits from the floppy driver. Driver is
...
still ISA-specific, but we can attach ISA instances with different
configuration mechanisms now.
2000-04-23 16:47:45 +00:00
matt
c10673838a
Extend asc driver to include support for the VS400/9x.
...
Add VS4000/9x support vsbus_dma.c
2000-04-23 16:38:52 +00:00
takemura
6d972981ff
Support 8bpp mode on MC/R530.
2000-04-23 10:20:50 +00:00
minoura
dfb848e298
M680x0 are now defopt'ed.
2000-04-23 05:49:14 +00:00
minoura
13fc4ebbe1
Do not include opt_m680x0 in LKM.
2000-04-23 05:38:31 +00:00
augustss
b12ed6c03b
Make it possible to move a device to its unconfigured state by
...
using config #0 .
2000-04-23 00:46:59 +00:00
augustss
bc5e86601e
Add an item.
2000-04-22 22:52:15 +00:00
augustss
3a27942ba8
Add a clarifying comment.
2000-04-22 22:50:44 +00:00
jdolecek
40d9f8a709
msdosfs_read(): avoid integer overflow for files > 2GB, when
...
difference between current read position and file size
is bigger than 2GB
This fixes problem first noted in FreeBSD PR#15639 and sent
by Martin J. Laubach in kern/9046, though the implementation
differs a bit.
2000-04-22 22:45:37 +00:00
thorpej
8ec60a189f
Make sure the payload is aligned when using E2-over-802.11 encapsulation,
...
as enabled by the LINK0 flag. Fixes PR kern/9700.
2000-04-22 22:36:14 +00:00
eeh
5099c60132
If we trap due to a bad kernel stack, try to switch to the interrupt strack
...
before breaking into the debugger.
2000-04-22 22:06:06 +00:00
matt
25d6f027de
Detect controller number on boot_qe check.
2000-04-22 21:40:40 +00:00
groo
3a77b18fd7
name change; rl -> rtk. Still commented out.
2000-04-22 21:03:27 +00:00
ragge
8b94e15772
Fix boot block countdown on 4000/60. Easy to add for other 4000 machines also.
2000-04-22 20:29:58 +00:00
ragge
a47bd10baa
Use RAISEIPL on all workstations.
2000-04-22 18:11:27 +00:00
augustss
5ea1af4bf4
Regen.
2000-04-22 18:07:19 +00:00
augustss
f468f877de
Add some CMedia audio devices. From T.SHIOZAKI <AoiMoe@imou.to>
2000-04-22 17:32:02 +00:00
mrg
1013298c2a
whole bunch of changes:
...
- merge IOMMU DVMA code from sbus/psycho into iommu.c. this code was
identical and a few minor inconsistencies had crept in. this way
keeps them all in sync.
- with this code gone from psycho, merge the psycho.c and psycho_bus.c
files. same with ebus/ebus_bus.c. delete the _bus.c files.
- add a _ds_boundary member to the dma segment structure, so that later
dma mappings can find this value.
- set _ds_boundary in machdep.c:_bus_dmamem_alloc().
- kill much dead code.
2000-04-22 17:05:59 +00:00
ragge
3a90b3236e
Forgot a protection #define.
...
Make use of raise-spl.
2000-04-22 17:05:07 +00:00
ragge
8c7cf8f008
Add device switch entry for RL disks. Only uses rom to boot so far.
2000-04-22 16:52:23 +00:00
ragge
cab5a24c60
Recognize RL02 as boot device.
2000-04-22 16:50:44 +00:00
ragge
9b8f75bee1
Add "rl" disk.
2000-04-22 16:48:53 +00:00
ragge
11379e0ab6
Add the famous "rl" disk.
2000-04-22 16:46:45 +00:00
ragge
cbf7514ca6
Detect "rl" as root device.
2000-04-22 16:43:47 +00:00
mrg
db956d0701
s#\b#\n# so an error message appears correctly.
2000-04-22 16:42:25 +00:00
thorpej
bedbdf87a4
rl -> rtk
2000-04-22 16:28:48 +00:00
uch
298fbbd162
fix VP3_CFG_INTR_MASK
2000-04-22 15:00:41 +00:00
tsutsui
5f992b6d2b
Rename rl -> rtk.
2000-04-22 13:13:21 +00:00
mrg
5aa4575432
- convert to DPRINTF() style debug messages.
...
- kill dead code.
- use the sbus dv_xname to construct a dvma map map, to pass to
extent_alloc(), to help support multiple sbusses
2000-04-22 12:36:29 +00:00
mrg
6e576e3c03
clean up mdallocsys().
2000-04-22 12:03:33 +00:00
ragge
dd22df3dc8
Ops, forgot to commit this.
2000-04-22 08:19:49 +00:00
groo
7c6a2dcd6d
name change; rl -> rtk
2000-04-22 06:56:20 +00:00
thorpej
cf0a940b9f
Add a pnpbios front-end to the pckbc driver. This is a littke wonky
...
yet.. the keyboard controller actually has 2 PNPBIOS nodes (one to
represent the controller I/O resources and the kbd port IRQ, and one
for the aux port IRQ). To cope with this, we're attaching two instances
of the driver and forge on ahead once both nodes have been seen.
If someone has a better way, please feel free to step forward.
2000-04-22 06:41:34 +00:00
thorpej
1842a5ee3a
Allow pnpbios_getirqnum() to return the share type, as well.
2000-04-22 06:38:24 +00:00
augustss
84f24d3c29
The D-link serial adapter lies about being self powered. It's obviously
...
bus powered. How can we do power budgeting when the devices lie?
2000-04-21 21:02:44 +00:00
augustss
60bb0d050d
Add some comments.
2000-04-21 20:58:56 +00:00
explorer
d592132506
the status register is _always_ at 0x420 -- grr. How should I put this in the config file rather than hard-coded?
2000-04-21 20:13:41 +00:00
augustss
46fb8de93a
Use a 255 ms interrupt interval even if the descriptor in the hub asks
...
for something else, because the spec says that it should be 255.
2000-04-21 19:51:43 +00:00
augustss
6bc85d9fa0
Minor nit: Use another TAB in formatting to make the columns straight.
2000-04-21 19:49:59 +00:00
ragge
171d9f6a3f
First version of keep-track-of-used-devices file.
2000-04-21 19:05:43 +00:00
augustss
4379f92630
Make sure to read the full hub descriptor (including the deprecated field).
2000-04-21 18:57:40 +00:00
thorpej
8c5710a861
- Declare biosbasemem and biosextmem in <machine/cpu.h>, don't extern
...
them everywhere they're used.
- Avoid integer overflow when converting bios{base,ext}mem (in units of
kilobytes) to bytes.
2000-04-21 18:37:20 +00:00
bouyer
19ada4a82a
Snapshot of work in progress: new driver for the NCR 53c8xx SCSI controller
...
(the name 'siop' is still being discussed, may change).
Only basic disconnect/reselect for now, no sync/wide negotiation.
Tested with 810A, 875 and 895 on i386 only.
The bus-independant part should also be able to handle the 53c720 and 53c770.
A new driver with enhanced script should appear for the 825/875/895 'soon'.
2000-04-21 17:56:58 +00:00
explorer
79f12736c0
Add (commented out) addcom0 and com* at addcom?
2000-04-21 17:52:06 +00:00
bouyer
cd5411b382
Script assembler for the NCR 53c7xx/8xx scsi controller. Initial work
...
done by Michael L. Hitch, support for the 8xx and some improvements
by me.
2000-04-21 17:50:07 +00:00
explorer
1118b3ee75
Add driver for Addonics FlexPort 8S (and probably 4S, but not tested)
2000-04-21 17:48:30 +00:00
bouyer
f1d93978ae
Rename define 'siop' to 'msiop' to avoid clash with machine-indepndant siop
...
driver. Doesn't change the name of drivers in config files.
2000-04-21 16:53:20 +00:00
bouyer
2ce6bd4b28
Rename the 'siop' define to 'asiop', to avoid clash with the MI siop driver.
...
This doesn't change the name of the drivers in config files.
2000-04-21 16:51:36 +00:00
minoura
48145d0463
Regen.
2000-04-21 16:18:54 +00:00
minoura
58c5fb660b
We have now native issetugid.
2000-04-21 16:18:16 +00:00
minoura
d982197440
Regen.
2000-04-21 16:16:15 +00:00
minoura
f6051edef5
Add native issetugid() call.
...
Implementation from compat/freebsd.
2000-04-21 16:15:39 +00:00
augustss
3d9d091685
Change the exact sequence of commands when a hub is attached to follow
...
Windoze more closely. This makes more devices work.
After two years of doing USB work I've finally access to a USB protocol
analyzer. Which means I should be able to mimic what Windoze does in
certain cases instead of just following the specs. Following the specs
is not enough since the devices often don't.
2000-04-21 16:05:50 +00:00
augustss
878deae672
Add a define for some slack port power up time.
2000-04-21 16:01:31 +00:00
augustss
9fb474fcf0
Regen.
2000-04-21 15:59:43 +00:00
augustss
f791a72b9c
Change error reporting in port reset function.
2000-04-21 15:58:55 +00:00
augustss
3f08804668
Pretend we know how to turn on port power (it's always on).
2000-04-21 15:40:01 +00:00
augustss
fdeba432d2
Add a comment about a non-obvious use of a #define.
2000-04-21 15:38:55 +00:00
augustss
d744db2ea9
Add D-link serial adapter (made by someone else :).
2000-04-21 15:37:50 +00:00
matt
f52bc62c39
enable in-kernel NTP (so xntpd doesn't die).
2000-04-21 15:16:39 +00:00
shin
a332af2846
delete unused function mips3_TLBReadVPS().
...
reorder insns to avoid mtc0/mfc0 hazard (for VR4100/R4700/RM52xx).
save/restore PageMask in mips3_TLBRead().
2000-04-21 14:14:55 +00:00
shin
e2711a6552
make it compile with -DDEBUG.
2000-04-21 14:10:39 +00:00
tsubai
e27d574b01
Make this compile.
2000-04-21 13:35:27 +00:00
tsubai
14219ebd05
Use dev/ic/com.c.
2000-04-21 07:12:53 +00:00
nisimura
79733cb614
Effort to have consistent comments, fixing one error.
2000-04-21 02:45:01 +00:00
itojun
eaeb53372e
update comment (analysis on 04 draft)
2000-04-21 02:40:53 +00:00
nisimura
3d5a5b03f5
- Address PR#9907. u_pte[1] wired down is left not global sometimes.
...
The brokenness is revealed sporadorically by memory usage on runtime.
- Avoid Vr4100 incompatibilty by making sure to retain default pgMask
value for TLB invalidation routines.
2000-04-21 02:39:55 +00:00
augustss
e1950d4ffa
regen.
2000-04-20 23:40:27 +00:00
augustss
3e4e60beeb
Add Zip 250.
2000-04-20 23:39:50 +00:00
mhitch
ac3bfd5e7f
When the tty intialization was split out of rcons_init(), the call to
...
rcons_ttyinit() was never added to the pmax rasterconsole stuff. Output
to the display using /dev/console has not been working since then. Adding
the call to rcons_ttyinit() makes this work again.
2000-04-20 20:02:34 +00:00
ragge
73e5b4e878
Raise IPL after interrupt, for LANCE chip.
2000-04-20 18:55:50 +00:00
thorpej
13c39a5cb6
Put the rasops attributes in conf/files so that everyone can run
...
config(8) without pulling in files.rasops. There is prior art for
this, e.g. audio.
2000-04-20 18:23:37 +00:00
msaitoh
e61941261f
remove a debug log
2000-04-20 14:04:04 +00:00
msaitoh
25f1ebacc1
add a copyfault routine into the TLB miss handler
2000-04-20 14:02:41 +00:00
pk
43cdacc18b
ctx_alloc: set context before flushing a stolen context's cache
2000-04-20 13:59:02 +00:00
msaitoh
48c1343230
asm bcopy() for sh3
2000-04-20 13:52:35 +00:00