augustss
997c3c5b8a
Add a quirk, SDEV_ONLYBIG, which implies that the device cannot handle
...
the 6 byte versions of READ, WRITE, and MODE_SENSE.
This greatly simplifies the UFI (USB Floppy) handling.
2000-05-30 01:08:23 +00:00
matt
c7326acd04
Add the PCI attachment for IEEE 1394 OHCI controllers. Files to follow later.
2000-05-30 00:53:14 +00:00
matt
3ed6c24d5c
Add IEEE 1394 OHCI node and IEEE 1394 bus. Just placeholders for now.
2000-05-30 00:48:47 +00:00
matt
fd1991294f
Regen
2000-05-30 00:21:07 +00:00
matt
adaaa34784
Add the TI 1394 controllers. Makes all the 1394 controller descriptions
...
similar.
2000-05-30 00:20:41 +00:00
mycroft
da42c608fe
Use a better multiplier for the 60Hz case.
2000-05-29 23:48:33 +00:00
simonb
4857b33794
A few more white-space bogons.
2000-05-29 23:40:03 +00:00
matt
3f4005113e
funciton != function
2000-05-29 23:34:08 +00:00
simonb
6c87680cbf
A TAB after the define keyword instead of spaces.
2000-05-29 23:30:06 +00:00
jhawk
0ff7191f39
Ensure that a fault inside the traceback printing code
...
(i.e. db_stack_trace_print()) does not cause an infinite loop of
faults.
2000-05-29 23:10:03 +00:00
sommerfeld
a3edbba355
Add null-pointer tests in ktrsamefile
2000-05-29 22:29:01 +00:00
pk
ee396c032f
Remove IOMMU page table allocation from pmap_bootstrap() and all the
...
hacks surrounding it.
2000-05-29 22:23:34 +00:00
deberg
9735bab338
use rtc.h for poweroff() and #if 0 out badaddr, which isn't used
...
anywhere. machdep.c compiles w/o any noise now.
2000-05-29 22:10:43 +00:00
deberg
e3a332df61
prototype rtc stuff used elsewhere
2000-05-29 22:08:47 +00:00
sommerfeld
879eaa480a
Fix clearing of ktrace points:
...
- need deep compare of open files, not a shallow pointer compare.
- reorder fdrelease()/FILE_UNUSE() invocations so fdrelease doesn't
block waiting for something which can't happen until after it returns.
2000-05-29 22:04:11 +00:00
deberg
dbd1379620
no need to include next{kbd,display}var.h
2000-05-29 21:35:04 +00:00
pk
ce1fb71efc
Use uvm_pglistalloc() to allocate memory for the I/O PTEs; modelled after
...
a similar change by Art Grabowski in Openbsd.
2000-05-29 20:41:10 +00:00
fvdl
b9bb94500e
Obey the "Reset SCSI bus at startup" EEPROM setting.
2000-05-29 20:13:53 +00:00
bouyer
405302008d
ADEV_CDROM -> SDEV_CDROM, for consistency.
2000-05-29 20:13:06 +00:00
ragge
992002c2be
Use the cpu_info struct to store cpu-specific data in the same way in
...
both uniprocessor and multiprocessor environments. Use the otherwise
unused internal CPU register SSP to store the cpu_info pointer.
The macros curcpu(), curproc, cpu_number() and need_resched() are now the
same in both uniprocessor and multiprocessor environments.
2000-05-29 20:00:55 +00:00
thorpej
65184f2470
Change the comment before the vm_page_zero_enable global to indicate
...
what it will now be used for.
2000-05-29 19:25:56 +00:00
mycroft
7385963fc9
Stylistic change.
2000-05-29 18:59:51 +00:00
mycroft
4db674fa50
According to Frank, buffers with dependencies *are* left on v_dirtyblks, so
...
remove the FSYNC_RECLAIM check and force them to be flushed.
2000-05-29 18:53:35 +00:00
mycroft
ced05c5744
Pull in IN_ACCESSED changes and some MNT_LAZY `bug fixes' from FFS to EXT2FS.
2000-05-29 18:41:07 +00:00
mycroft
33ec489188
Pull in IN_ACCESSED changes and some MNT_LAZY `bug fixes' from FFS.
2000-05-29 18:34:36 +00:00
mycroft
edfd1e6f32
Use LIST_{FIRST,NEXT,EMPTY}().
2000-05-29 18:28:48 +00:00
mycroft
d747ada9c2
Add a new inode flags called IN_ACCESSED. This used in place of IN_MODIFIED
...
to record that the atime was updated. In ffs_update(), we only do synchronous
writes if something *other* than the atime was changed.
2000-05-29 18:04:30 +00:00
jhawk
1e59d99d28
For all network drivers that call ether_ifattach(), and also
...
have _detach() functions:
Ensure that softc keeps state about whether the attach succeeded,
and make the detach function return immediately if the attach did
not complete.
2000-05-29 17:37:12 +00:00
mycroft
941524439a
Never call softdep_sync_metadata() in the FSYNC_RECLAIM case. Any pending
...
blocks are detached from the vnode at this point. When the dependencies are
broken to enable writing the blocks, the vnode will be regenerated. (The only
reason we sync buffers in this case is that they have to be detached from the
vnode.)
2000-05-29 17:19:20 +00:00
mycroft
c47adf55e0
In ffs_fsync(), remove the FSYNC_RECLAIM special case, so that it properly
...
waits for pending buffers, and doesn't throw away time stamp updates.
2000-05-29 17:12:06 +00:00
mycroft
ccf1cf4b69
MNT_WAIT -> FSYNC_WAIT
2000-05-29 16:28:27 +00:00
soren
e3ee997813
Different form of PCI bug workaround. Should make 2700 system work.
2000-05-29 15:45:15 +00:00
soren
6641d91d94
No Linux compat yet, but Ultrix works.
2000-05-29 15:44:22 +00:00
soren
da59451c97
Identify system controller model.
2000-05-29 15:43:50 +00:00
soren
ba3a485962
Static poisoning.
2000-05-29 15:43:32 +00:00
soren
66f14d2965
Whitespace.
2000-05-29 15:42:47 +00:00
mycroft
7513b8e18d
Update an outdated comment.
...
Allow all powers of 2 from 2^0 to 2^16 for hz.
Enable hz==1200.
2000-05-29 15:05:10 +00:00
mycroft
8dcf08ff77
Improve the time_adj multiplier for the 100Hz and 1000Hz cases, and add a
...
1200Hz case.
2000-05-29 14:58:59 +00:00
nisimura
5448bca5b5
Make this file compilable. 3MAX+ has no ISDN.
2000-05-29 12:09:45 +00:00
tsubai
8cde93a435
* Support (not so) new cards. (only Cyclom-8YsP+ is tested)
...
* Make compilable with CY_DEBUG.
2000-05-29 12:05:41 +00:00
nisimura
a7c050472e
Nuke #include directives found unnecessary.
2000-05-29 11:46:52 +00:00
simonb
e94f50731b
Use u_int64_t for cp_time[] and the tk_* terminal counters.
2000-05-29 11:35:19 +00:00
nisimura
f7c88c8f18
Make sure to load FPA contents next time an FP insn is executed when
...
process_write_fpregs() changes pcb_fpregs[].
2000-05-29 11:19:46 +00:00
soda
fbc0def1f9
COMPAT_ULTRIX was moved from files.${MACHINE} to files.mips,
...
from Izumi Tsutsui.
2000-05-29 10:17:44 +00:00
nisimura
76f0ee4e32
Put an additional check to see curproc was an FPA owner process.
2000-05-29 09:47:19 +00:00
nisimura
87cd634474
Put addtional checks to see the curproc is an FPA owner process.
2000-05-29 09:43:33 +00:00
nisimura
8e19d02f25
Cleanup take two
...
- Nuke external function reference of savefpregs() which is already defined
in mips/cpu.h.
- Adjust the comment tells "let user processes change CP0 status register
freely might be dangerous."
2000-05-29 09:37:00 +00:00
nisimura
3f8e9c25b6
Make claried MDP_FPUSED usage.
...
- MDP_FPUSED flag indicates the process has executed at least one
FP insn during its life time.
- pcb_fpregs storage is guaranteed zero initialzed. If the process is FPA
owner, savefpregs() must be called to synchronize it with FPA contents.
- No necessity to save FPA contents into pcb_fpregs prior to the whole
storage is overwritten by process_write_fpregs().
2000-05-29 09:16:36 +00:00
oster
c11100526b
Don't let the autodetection code get tripped up by negative mod-counters.
2000-05-29 02:57:34 +00:00
matt
c7c33f1747
make egcs happy: ioasic.c:327: warning: suggest parentheses
...
around arithmetic in operand of |
2000-05-29 02:16:57 +00:00
oster
f1f5c4d00e
Fix a couple of typos. (Thanks Wiz! :) )
2000-05-29 01:43:04 +00:00
itojun
4308599c5a
disallow bind(2) with IPv4 mapped address for now. port number check is
...
insufficient at this moment and we can bind(2) two sockets listen on same
port number.
for real fix, we need to check inpcb table with in6pcb. we can't
find inpcb chain from particular in6pcb chain (like finding tcbtable from tcb6)
luckily RFC2553 does not talk about bind(2) behavior for IPv4 mapped.
IPv4 mapped brings in too much complexities...
2000-05-29 00:03:18 +00:00
itojun
c0ccb49681
sync with reality in netbsd-current.
...
- pcb layer changes
- officially supported net interfaces
- minor typo
- draft # updates
2000-05-28 23:44:30 +00:00
thorpej
8576ef9a13
Add Cyclades-Z.
2000-05-28 23:06:39 +00:00
thorpej
0936213012
Add Cyclades Y and Z multiport serial adapters.
2000-05-28 23:05:19 +00:00
oster
39a667120f
In the event that an up-to-date component cannot be located for a specific
...
position, see if there is a failed component still hanging around that
we can use instead (but still mark it as failed). This leads to more
reasonable behaviour (and fewer surprises!) when autoconfiguring and
failed (or previously failed) components are still on the system.
2000-05-28 22:53:49 +00:00
jhawk
6513ba6e74
Make this compile with UHCI_DEBUG in the presence of
...
-Werror: uhci_dump is no longer static.
2000-05-28 22:02:05 +00:00
thorpej
2e7afc702d
Update.
2000-05-28 21:49:02 +00:00
thorpej
e51303c17e
Mirror last change to GENERIC.
2000-05-28 21:48:52 +00:00
jhawk
daa86a0be1
Add patchable "pnpbiosdebug" global if PNPBIOSDEBUG is compiled in,
...
and add PNPBIOSDEBUG_VALUE to initialize its value, defaulting to 1.
2000-05-28 21:46:04 +00:00
jhawk
fb6d063b8c
pnpbios from 1.344 didn't config. s/pnpbios0/pnpbios?/
2000-05-28 21:12:00 +00:00
pk
7da3d45dfc
Cleanup iommu_attach().
2000-05-28 20:55:54 +00:00
pk
57b382f034
Add a few comments.
2000-05-28 20:54:42 +00:00
matt
33889a5e6c
Enable DDB.
2000-05-28 20:21:04 +00:00
thorpej
4af4c47f80
Tidy up a little, improve PnP BIOS section.
2000-05-28 20:11:59 +00:00
thorpej
b6c4eb81fd
Massive cleanup and syncing with GENERIC
2000-05-28 20:10:29 +00:00
soren
5abcf38c02
Whitespace police.
2000-05-28 20:03:21 +00:00
ragge
f3eeb5b356
Remove vsio.h.
2000-05-28 19:42:31 +00:00
ragge
074bc79414
There is no reason at all to have DEC's internal state data structures for
...
the VS100 in our source tree. And especially not in /sys :-)
2000-05-28 19:42:01 +00:00
sommerfeld
bdc8251646
Change printing of cpu number in the prompt in the MULTIPROCESSOR case
2000-05-28 19:03:55 +00:00
jhawk
b4c87e6d41
Add proc0 to pidhashtbl so pfind(0) works.
...
Now trace/t 0 works in ddb, etc.
2000-05-28 18:52:32 +00:00
jhawk
0866399258
brain-oh in last. test logsoftc.sc_pgid, not p.
2000-05-28 18:31:13 +00:00
matt
166475069f
fix it so it compiles.
2000-05-28 18:17:59 +00:00
jhawk
8a49d6bd31
Ensure that all callers of pfind() can deal with pfind(0) returning
...
a real procp* rather than NULL.
2000-05-28 18:17:07 +00:00
ragge
16f02724d6
Some updates to the DEUNA driver:
...
- Change the transmit logic to send from a pre-allocated buffer instead
of doing DMA out of the mbufs directly. Timing shows that it takes
4 times longer to map in the mbufs via the sgmap routines instead of
just copying the data! This must be fixed sometine in the future.
- A bunch of other minor fixes.
2000-05-28 17:23:44 +00:00
sommerfeld
a56cb94b43
Deal with NULL file pointer for KTROP_CLEAR
2000-05-28 15:27:51 +00:00
takemura
5b3cb6b1a1
Add async I/O support.
...
FIOASYNC ioctrl command had been forwarded from wsmux to each mouse devices
and the devices had set their own event queue async mode. But no one had took
care of the event queue's mode of wsmux itself. Wsmux should make it's own
event queue async mode when it receive FIOASYNC command.
2000-05-28 10:33:14 +00:00
drochner
c461529353
regen
2000-05-28 10:25:25 +00:00
drochner
f8091908b5
-correct description for 3c905b-FX (100 Mb only)
...
-add Neomagic 256ZX
2000-05-28 10:24:57 +00:00
drochner
f8a6b48d66
Don't silently truncate the voff_t offset to vaddr_t when passing it to
...
udv_attach. Pass the whole voff_t instead and do an explicite overflow
check before it is passed to the device's mmap handler (as "int", sadly).
2000-05-28 10:21:55 +00:00
mycroft
dad58e313b
Pull in indirect block unwind code from FFS.
2000-05-28 08:44:32 +00:00
mycroft
1ea529f6df
DTRT when unwinding multiple levels.
2000-05-28 08:31:41 +00:00
mycroft
4fc7b946c2
When unwinding a failed allocation, make sure to nuke the unwound block from
...
the vnode's block list. This fixes `itrunc3' panics (at least in some cases;
further testing is needed) and prevents further lossage later on.
2000-05-28 08:15:40 +00:00
gmcgarry
6fe0de17c6
Fixup copyright.
2000-05-28 07:18:58 +00:00
gmcgarry
4ba1e04ba2
Handle ADEV_CDROM in quirks table.
...
Quirk entry for another Toshiba cdrom.
2000-05-28 07:03:59 +00:00
gmcgarry
8d994b82fa
Allow nfs root over token ring. Closes PR6629.
2000-05-28 07:01:09 +00:00
gmcgarry
69c227f1a2
Nuke IOASIC_INTR_ISDN which is for sample interrupts.
2000-05-28 06:16:00 +00:00
gmcgarry
57e5e86ed1
Merge pmax and alpha ISDN register definitions.
2000-05-28 06:13:40 +00:00
gmcgarry
6eb4356ecf
IOASIC_INTR_ISDN is used for interrupts on every sample. We use DMA so
...
need IOASIC_INTR_ISDN_TXLOAD|IOASIC_INTR_ISDN_RXLOAD.
2000-05-28 06:07:31 +00:00
gmcgarry
dcec163ee3
Substitute bba for isdn placeholder.
2000-05-28 06:02:12 +00:00
mhitch
91dd4d9eb5
Remove local declaration of physmem_boardmax. The external physmem_boardmax
...
was not getting modified for 4MB SIMMS, and when fully populated with 8
SIMMS the memory size was configured at 128MB instead of 32MB.
2000-05-28 05:56:36 +00:00
thorpej
e03e9e8086
Rather than starting init and creating kthreads by forking and then
...
doing a cpu_set_kpc(), just pass the entry point and argument all
the way down the fork path starting with fork1(). In order to
avoid special-casing the normal fork in every cpu_fork(), MI code
passes down child_return() and the child process pointer explicitly.
This fixes a race condition on multiprocessor systems; a CPU could
grab the newly created processes (which has been placed on a run queue)
before cpu_set_kpc() would be performed.
2000-05-28 05:48:59 +00:00
oster
f329fb84ad
We need to be slightly more clever during auto-configuration, to make
...
sure that we a) don't ignore components with correct mod-counters, and
b) do ignore components with bogus mod-counters.
2000-05-28 05:23:41 +00:00
matt
141dcca251
Add VAX660/670/680 support.
2000-05-28 05:17:25 +00:00
mycroft
4656dfd24f
Add a new function to remove extra buffers when truncating a file. This is
...
more generic than the vinvalbuf(V_SAVEMETA) case, avoiding synchronous
operations when truncating to a non-zero length.
2000-05-28 04:13:56 +00:00
oster
1ddfaaf8fa
Umm.. Complete is not equal to 'left to do'. Fix the math.
2000-05-28 03:42:23 +00:00
oster
e38b4355e2
Abort any parity re-writes before unconfiguring a RAID set.
...
Partially addresses PR#10182.
2000-05-28 03:00:31 +00:00
matt
5108d90ce5
Fix bpf output on fddi to actually work. Make it compatible with ULTRIX
...
and Tru64.
2000-05-28 02:49:35 +00:00
tv
ab415393d3
`ep' has `plug-and-play' support on all buses, including non-PnP ISA.
...
Attach ep* at isa instead of ep0, so we will autoconfigure all 3c5x9s.
2000-05-28 02:42:16 +00:00
matt
2864a7186a
reclaim transmitted packets on receive interrupts.
2000-05-28 01:28:52 +00:00