thorpej
2b20452bf1
Statements must follow labels.
2002-05-30 22:19:11 +00:00
thorpej
5da14150ab
Don't include macro params when #undef'ing it.
2002-05-30 22:11:14 +00:00
thorpej
3a536c1642
Make this work with an ISO C preprocessor.
2002-05-30 22:04:55 +00:00
thorpej
d0e990fcad
Get rid of the XDEFS thing; the new toolchain provides a proper
...
cross compilation environment.
2002-05-30 22:02:13 +00:00
thorpej
6edcabc59d
Fix a typo (#ifdef defined(...))
2002-05-30 21:58:56 +00:00
thorpej
203bc161ae
Don't use multi-line string literals.
2002-05-30 21:51:28 +00:00
thorpej
f4e7583fb8
Make this work with an ISO C preprocessor.
2002-05-30 21:49:20 +00:00
thorpej
e0f6041809
Don't use multi-line string literals.
2002-05-30 21:47:25 +00:00
thorpej
66a9d33599
Don't use multi-line string literals.
2002-05-30 21:36:38 +00:00
thorpej
a36957a2dd
Don't use multi-line string literals.
2002-05-30 21:27:41 +00:00
thorpej
9c144a7b82
- Don't use multi-line string literals.
...
- Statements must follow labels.
2002-05-30 21:26:13 +00:00
thorpej
1f374d20b5
Don't use multi-line string literals.
2002-05-30 21:20:41 +00:00
thorpej
34820075d5
Statements must follow labels.
2002-05-30 21:09:54 +00:00
thorpej
85af08accf
Remove an unnecessary (and undefined, due to lack of a sequence point)
...
assignment.
2002-05-30 21:00:23 +00:00
thorpej
9a97f023a3
Fix undefined operation (= is not a sequence point).
2002-05-30 20:56:26 +00:00
thorpej
2335982213
Remove unnecessary assignments (for which the operation may be
...
undefined).
2002-05-30 20:28:27 +00:00
thorpej
8f0c98bbe2
Statements must follow labels.
2002-05-30 20:03:27 +00:00
thorpej
763a08c0dc
Put the __unused__ attribute one some unused kbd maps.
2002-05-30 20:02:24 +00:00
augustss
c2ed70bddf
Add missing files to the pmppc port.
2002-05-30 20:02:03 +00:00
thorpej
3d13a6c10b
Don't include params on macro when #undef'ing it.
2002-05-30 19:59:36 +00:00
thorpej
9ba5027914
Nuke a trigraph.
2002-05-30 19:52:52 +00:00
thorpej
b208a0fd3f
Regenerate.
2002-05-30 19:45:49 +00:00
thorpej
efde83a1fd
Tweak a comment so that it doens't turn into a trigraph if
...
the config file is included in the kernel source.
2002-05-30 19:45:15 +00:00
thorpej
cc938a1daf
Account for changes to struct partition.
2002-05-30 19:03:50 +00:00
thorpej
7903aba812
#if 0 a test that is always false (and the XXX comment above it
...
indicates so).
2002-05-30 18:54:55 +00:00
thorpej
f944a0674f
Remove unnecessary -I$S; bsd.kmod.mk adds -isystem $S
2002-05-30 18:53:14 +00:00
thorpej
8bf2751b15
Statements must follow labels.
2002-05-30 18:44:30 +00:00
thorpej
c26e1749fc
Add -ffreestanding to CFLAGS.
2002-05-30 18:35:08 +00:00
thorpej
1768ff83e0
Don't use multi-line string literals.
2002-05-30 18:32:18 +00:00
thorpej
1964f8446c
Make this work with an ISO C preprocessor.
2002-05-30 18:30:17 +00:00
someya
153f04daa9
Fix playback problem on SiS7018.
...
- mute the volume for interrupt channel
- add some improvements for device initialization
but recording does not work properly.
Reported and tested by Jan Wagner <waja@cyconet.org>. Thanks.
2002-05-30 17:04:13 +00:00
nonaka
79e01c5f6f
Support IBM RS/6000 43P 7043-140.
2002-05-30 16:10:03 +00:00
eeh
0ef5e0455e
Automagically install symbols and generate a loadable binary image when
...
building a kernel rather than as a separate target.
2002-05-30 15:24:57 +00:00
eeh
fb36aee628
Add an INSTALL kernel with DEBUG and space for a miniroot.
2002-05-30 15:23:09 +00:00
eeh
4992f2adc9
Make this more GENERIC.
2002-05-30 15:22:16 +00:00
eeh
6230497489
Add cardbus support in case someone has a PCI->cardbus card.
2002-05-30 15:21:24 +00:00
drochner
34c0afbf8d
implement a check whether a BAR is present at all at a given configuration
...
space address and use it where the mappings of the VGA card are registered
before descenting too deep into "memory" type specific code
(pci_mem_find() gets noisy if it doesn't like the register)
2002-05-30 12:06:43 +00:00
augustss
1cad75290c
Remove extra lines.
...
Fix some comments.
2002-05-30 09:08:51 +00:00
augustss
1331023854
Add some files for the Artesyn PMPPC board. This is a PowerPC based
...
Mezzanine PCI board.
NOTE: this is not yet all the files needed for the port.
2002-05-30 08:51:06 +00:00
itojun
52d0ba15c8
reduce unneeded #ifdef
2002-05-30 05:51:21 +00:00
manu
0d78304995
Improved support for polling semaphores: when a polling semaphore is unblocked,
...
poll will return true until the semaphore is blocked again, but before the
semaphore is blocked, poll returns false.
We do this by maintaining another queue of "released" processes in
struct irix_usema_rec. Unblocking causes the waiting process record to be
moved to the released queue, and poll check for the process in this released
queue.
2002-05-30 05:16:10 +00:00
itojun
87fc46bce9
improve nd6_setmtu(), to warn too-small MTU on SIOCSIFMTU. sync w/kame
2002-05-30 05:06:28 +00:00
itojun
a3e4fbdf14
use M_READONLY where possible. minor cleanup/sync with kame.
2002-05-30 04:39:15 +00:00
greg
5004b7788d
Initial addition of TrackPoint support on the IBM WorkPad z50's DSIU port.
2002-05-30 01:44:59 +00:00
fvdl
cec79c16b4
Include sys/types.h or u_int*
2002-05-30 00:36:42 +00:00
christos
c7f67f1479
make this compile again.
2002-05-29 19:50:48 +00:00
drochner
f452b252a8
Add another allocator to uvm_pglistalloc() which is used in the case where
...
no alignment / boundary / nsegs restrictions apply.
This one doesn't insist in a contigous range, and it honours the "waitok"
flag, thus succeeds in situations which were hopeless with the existing one.
(A solution which searches for a minimum number of contiguous ranges using
some best-fit or so algorithm would be expensive to implement; I believe the
"either-or" done here does reflect the current use by bus_dma quite well.)
Now agp memory allocation is robust for me. (tested on i810)
2002-05-29 19:20:11 +00:00
christos
ab57e25224
add 2 more CCP defines.
2002-05-29 19:11:05 +00:00
tv
fd2474f0f1
Make sure DBSYM is defined if not overridden by USETOOLS=yes.
2002-05-29 16:12:54 +00:00
bouyer
ec89a92254
When testing for a void region, use PCI_MAPREG_MEM_SIZE() for 32bit memaddr.
...
If the 32bit mask read is 0, wmask will be 0xffffffff00000000, and
PCI_MAPREG_MEM64_SIZE() won't make this 0.
2002-05-29 14:57:36 +00:00
itojun
cfc6c918de
missing bzero
2002-05-29 13:56:14 +00:00
itojun
050c5b5b7c
receivedra field is gone
2002-05-29 13:52:56 +00:00
enami
9e1deeab34
Add missing pageq lock while uvm_pagefree() is called (either directly
...
or indirectly). Reviewed by chuq.
2002-05-29 11:04:39 +00:00
itojun
913276174b
"receivedra" field name is obsolete.
2002-05-29 09:32:01 +00:00
martin
2a09e1c999
Nuke all useages of polled kbd controller commands when not attaching or
...
probing.
Make sure to not initialize the protocol more than once, see rev. 1.11 of
the old psm_intelli.c driver (this caused hangs when starting X).
Unify the "ignore garbage" behaviour (which we already did if PMS_STANDARD
protocol was used), the old intelli-driver did the same and on some scroll
mice a stream of garbage is emitted shortly after reset.
2002-05-29 09:30:35 +00:00
itojun
14dafa8f6a
avoid unneeded malloc/free. sync w/kame
2002-05-29 09:05:18 +00:00
itojun
5c1df51d53
attach nd_ifinfo structure into if_afdata.
...
split IPv6 link MTU (advertised by RA) from real link MTU.
sync with kame
2002-05-29 07:53:39 +00:00
itojun
9ea1dc0d36
correct rmx_mtu value after PMTUD entry timeout (should be set to 0)
2002-05-29 06:55:48 +00:00
itojun
c0e2bb0509
need libkern.h for bootloaders
2002-05-29 06:27:15 +00:00
itojun
ede265fffd
move per-interface ip6/icmp6 stat to ifnet->if_afdata. sync w/kame
2002-05-29 02:58:28 +00:00
itojun
a15e664f71
rm obsolete comment
2002-05-29 01:43:25 +00:00
itojun
eee0912fd7
don't panic on invalid CONF_ACK from remote (in general, issueing panic
...
on remote input is bad practice)
2002-05-29 01:38:46 +00:00
itojun
bbc84065b6
use arc4random
2002-05-29 01:33:45 +00:00
wiz
96e3e9d9ab
Minimize uses of quad_t. Also, use C99 types more thoroughly.
...
Approved by kleink.
2002-05-28 23:36:30 +00:00
fvdl
b16e023917
Enable syscall/sysret insn use. They have the potential to lead to
...
a faster system call path (but currently won't be much faster).
Signal trampoline to be converted.
Rename eflags -> rflags where appropriate.
2002-05-28 23:11:38 +00:00
fvdl
8b277a3d68
Add definition for CPU-private data (in a remapped page in the data
...
segment). Somewhat of a kludge to be able to switch stack pointers
in in the syscall entry point without clobering a register, avoiding
the terror of 'swapgs'.
2002-05-28 23:09:36 +00:00
fvdl
cfe60d7a95
Shuffle order of selectors around to appease syscall/sysret (bah).
2002-05-28 23:07:35 +00:00
fvdl
92f44882b8
rdmsr/wrmsr don't have 64 bit versions, fix the inline functions.
2002-05-28 23:06:28 +00:00
bjh21
07db2878a8
Use ${FGEN} rather than fgen.
2002-05-28 21:56:54 +00:00
manu
f4e81e0cfb
- the signal trampoline address is now copied during a fork(). This avoids
...
a SIGSEGV when sigaction(2) is used before a fork(2) and a signal is received
in the child.
- we now nearly correctly emulate PR_TERMCHILD in prctl(2). (the perfect
emulation would not send a SIGHUP if the parent is killed)
2002-05-28 21:15:41 +00:00
nathanw
800bc79f00
Descend into sun68k for sun3 builds.
2002-05-28 21:11:04 +00:00
nathanw
4de762cb8f
Remove in favor of sun68k/stand.
2002-05-28 21:06:04 +00:00
nathanw
4e25c99464
Remove in favor of sun68k/stand
2002-05-28 21:05:23 +00:00
nathanw
29f364076e
Don't descend into stand; it is being deprecated in favor of sun68k/stand.
2002-05-28 21:02:03 +00:00
tron
e10511905f
Set initial transmit drain threshold to 1504 to avoid the problem
...
described in PR kern/16070. Change approved by Jason Thorpe.
XXX We'll should try to find a better adaptive scheme for the next
NetBSD release.
2002-05-28 20:20:49 +00:00
bjh21
23f7ce3522
.WAIT after building libbug and libsa, and before building anything that uses
...
them.
2002-05-28 19:34:15 +00:00
bjh21
0d79902e3f
Use ${PRINTOBJDIR} rather that rolling our own.
...
This prevents parallel builds passing "--- xxx ---" (which make prints to
indicate it's building target "xxx") to ld.
2002-05-28 19:32:42 +00:00
bjh21
446be066e9
Use #if 0 for commenting out multiple lines, rather than dodgily-nested
...
comments (about which GCC warns).
2002-05-28 19:09:38 +00:00
christos
c5e4481063
regen
2002-05-28 17:46:24 +00:00
christos
6ce1fe0564
add action tec
2002-05-28 17:46:10 +00:00
augustss
9660362aab
Another fix in the FreeBSD part.
2002-05-28 17:45:17 +00:00
tron
0f15ab8163
Remove senceless benchmark loop for i8xx hardware random generator
...
attach code. The throughput was neither calculated nor displayed.
2002-05-28 17:25:43 +00:00
tron
94d3fd0f89
Add hardware random generator support for Intel i845, i850 and i860
...
chipsets.
2002-05-28 17:23:07 +00:00
tron
30e983a763
Regen from "pcidevs".
2002-05-28 17:08:57 +00:00
tron
e3e9ac1e64
Add entries for Intel i850 and i860 chipsets.
2002-05-28 17:08:19 +00:00
scottr
fe6c8f5812
Mark kernel text read-only, except for the low memory variables used by
...
the Macintosh ToolBox. Originally committed in rev 1.273.
2002-05-28 17:00:16 +00:00
scottr
f55aa726f8
Add entries for remaining PowerBook Duo models originally
...
committed in rev 1.273.
2002-05-28 16:57:02 +00:00
scottr
be52d514c6
Back out unintended changes from previous commit.
2002-05-28 16:53:24 +00:00
drochner
eafdf8c95d
add translations for two ASC/ASCQs which occur before
...
the DVD player's region code is dealt with
2002-05-28 16:40:03 +00:00
bjh21
40d80d8c16
Add support for LIBSA_NO_FS_CLOSE, LIBSA_NO_FS_WRITE, LIBSA_NO_FS_SEEK and
...
LIBSA_NO_TWIDDLE.
LIBSA_NO_FS_SYMLINK is irrelevant here, and LIBSA_FS_SINGLECOMPONENT would
be pointless.
2002-05-28 14:38:55 +00:00
bjh21
a20462dc6e
Implement LIBSA_NO_FS_CLOSE, LIBSA_NO_FS_WRITE and LIBSA_NO_FS_SEEK.
...
LIBSA_NO_FS_SYMLINK and LIBSA_FS_SINGLECOMPONENT are irrelevant here.
2002-05-28 14:30:53 +00:00
bjh21
43079a573b
KNF.
2002-05-28 14:26:01 +00:00
augustss
0a15c2acd4
Change DMAADDR macro slightly.
2002-05-28 12:42:38 +00:00
itojun
2e926ba699
no need for libkern.h
2002-05-28 12:21:22 +00:00
itojun
3be26b82ef
use arc4random
2002-05-28 11:19:17 +00:00
itojun
4121fa09fc
correct in*_pcbrtentry. check cached value correctly.
2002-05-28 11:10:52 +00:00
itojun
b9f810de55
use arc4random() on tcp iss generation
2002-05-28 10:17:27 +00:00
itojun
d208a22daa
use arc4random() where possible.
...
XXX is it necessary to do microtime() on tcp syn cache?
2002-05-28 10:11:49 +00:00
simonb
2fa75d0170
Need to include <machine/intr.h> here with old native toolchain; not sure
...
what the difference was between this and newer gcc/binutils.
2002-05-28 10:11:26 +00:00
itojun
0ac289dea9
have arc4random(9).
2002-05-28 10:09:24 +00:00
itojun
7410ea60ca
in in*_pcbrtentry(), check if route is still valid (RTF_UP),
...
and address family is still valid.
2002-05-28 10:07:51 +00:00
haya
de6fbd495c
Bugfix: add character device #62 in chrtoblktbl[].
2002-05-28 10:01:23 +00:00
itojun
10c5914022
limit number of IPv6 fragments (not the fragment queue size) to
...
fight against lots-of-frags DoS attacks. sync w/kame
2002-05-28 03:04:05 +00:00
lukem
9d8552460f
add puc, and com & lpt at puc
2002-05-27 23:58:52 +00:00
lukem
a0336432b3
add lpt_puc support (from files.i386)
2002-05-27 23:41:33 +00:00
bjh21
1d76b4db4b
1.4: get_page() abstracted.
2002-05-27 20:18:56 +00:00
bjh21
c489f6804b
Add a function, get_page(), whose job is to find which logical page should
...
be used to load a given physical page. At the moment, this just returns
the page's current logical mapping, but in future it might handle returning
bounce pages for physical pages which are in use, and copying to the correct
page just before loading the kernel.
2002-05-27 20:17:11 +00:00
ragge
bb2b3afc9a
Read correct Ethernet address on VXT2000.
2002-05-27 17:32:01 +00:00
gson
910011f658
When audio recording was paused or dropping samples, the "outp" of the
...
recording ring buffer could overrun the end of the buffer. When
recording resumed, memory after the end of the buffer would be read,
sometimes causing a system crash.
2002-05-27 17:13:14 +00:00
ragge
97b3433515
Use correct ethernet address address on VXT2000.
2002-05-27 16:54:18 +00:00
drochner
f5b492e186
use CD session offset from the disklabel, if present
2002-05-27 16:44:37 +00:00
drochner
259cb04e6f
put multisession offset code into a separate function and initialize
...
the p_cdsession field of partition 'a' in the default disklabel
2002-05-27 16:42:30 +00:00
drochner
3963e95b9b
turn p_fsize into a union { p_fsize, p_cdsession }; the latter member
...
is used to store the session offset on multi-session CDs
2002-05-27 16:36:37 +00:00
itojun
ae5a9e211d
re-scan all ifnet after domaininit() for if_afdata initialization.
2002-05-27 13:46:45 +00:00
drochner
9936deaa92
regen
2002-05-27 08:52:36 +00:00
drochner
67d163e234
add one more of our own products
2002-05-27 08:52:13 +00:00
itojun
e5aa199677
framework to add af-dependent data structure to struct ifnet.
...
as discussed at bsd-api-discuss. sync w/kame
2002-05-27 02:53:49 +00:00
manu
e8f2e051a3
- When requested a semamphore count, the userlands expects the kernel to
...
return the number of processes waiting on the semaphore. We now maintiain
a count of waiting processes.
- Blocked processes are unblocked "first in, first out". We now have a
queue of waiting processes on a asemaphores, so that we can wakeup the
first blocked process.
Problems:
- We now have a lot of dynamic memory allocation, it may be a bit slow.
- Nothing is SMP safe for now. We need to add locks.
- On close, we forget about a semaphore, which is incorrect. One process
can close its fd attached on a semaphore, but other processes would carry
on using it. Since any process can join a shared arena, this is not an
easy thing to solve.
- A lot of usema/usync functionnalities are still to be discovered.
2002-05-26 21:37:12 +00:00
jdolecek
d02e4285f9
bump ramdisk size, 2M isn't enough
2002-05-26 18:13:56 +00:00
itojun
3e7ae517e0
path MTU discovery blackhole detection.
...
PR 12790 (sorry for not committing it for a long time)
2002-05-26 16:05:43 +00:00
tshiozak
94a6bb8164
add PLANEX GW-NS11H Wireless LAN PC Card.
2002-05-26 14:37:19 +00:00
tshiozak
7b488909a7
add PLANEX GW-NS11H Wireless LAN PC Card
2002-05-26 14:35:10 +00:00
jdolecek
a14bf4ee89
update comments
2002-05-26 12:53:22 +00:00
jdolecek
2f8917ee1b
regen (RCS Id fix)
2002-05-26 12:52:27 +00:00
jdolecek
64efb25dc0
remove space in generated NetBSD RCS Id
2002-05-26 12:51:55 +00:00
jdolecek
b69489fb3b
pregenerate grf_ultms.c, so that gspa isn't needed during kernel build
2002-05-26 12:47:41 +00:00
fvdl
5659e1960c
Remove use of pcb_fs and pcb_gs.
2002-05-26 12:19:38 +00:00
fvdl
f6d35976a9
Remove fs and gs fields.
2002-05-26 12:08:49 +00:00
bjh21
fb65355d04
Remove #ifdef NC stuff, syncing with iomd/todclock.c.
2002-05-26 12:07:55 +00:00
fvdl
1371b7fb28
Don't stuff fs and gs in the PCB, they need to be dealt with in
...
the trapframe.
2002-05-26 12:07:40 +00:00
simonb
178eb5321c
Fix previous so that the constants are outside of the #ifdefs such that
...
they are actually compiled(!).
2002-05-26 07:37:08 +00:00
minoura
78d97e78f0
Clear done_head in the HCCA *before* acknoledging the interrupt.
...
Driver lost some completed transfers under heavy loads.
2002-05-26 03:10:02 +00:00
fvdl
66f94c684f
Move the kernel to the upper 4G of virtual address space and use
...
-mcmodel=kernel.
2002-05-26 00:23:49 +00:00
fvdl
7e00cc50ec
Add -Wno-format-zero-length, for forward compatibility with gcc 3.2.
...
Our in-tree gcc 2.95.3 accepts the flag as well.
2002-05-26 00:15:25 +00:00
itojun
9a1a825873
we have no IFT_DUMMY. kame merge mistake
2002-05-25 22:18:49 +00:00
jdolecek
357b304b86
add some procfs files which seem to be needed nowadays
2002-05-25 20:39:50 +00:00
jmcneill
2f2e418115
Add explanation for PMS_DISABLE_POWERHOOKS, as requested by hubertf.
2002-05-25 17:05:33 +00:00
itojun
e3c4951b26
re-enable ipsec policy caching onto pcb. refcnt fix and workarounds based on ymmt-san.
2002-05-25 10:01:01 +00:00
ichiro
4c034ead9b
make compile when define DEBUG
2002-05-25 07:58:35 +00:00
ichiro
fdb6b41ec7
regen
2002-05-25 07:32:25 +00:00
ichiro
407f8f5b2c
add 21555 Non-Transparent PCI-PCI Bridge
2002-05-25 07:28:15 +00:00
simonb
4e7ebf2dd2
Include <machine/intr.h> here.
2002-05-25 04:30:16 +00:00
simonb
efd6a59812
Move IPL/spl interrupt code to intr.h; this include file is expected to
...
exist in some networking code.
2002-05-25 04:27:21 +00:00
simonb
1f3bc4331e
Make infty, snan and qnan externs and declare in ieee_handler.c.
...
Add an empty statement after a goto label to keep gcc-current happy.
2002-05-25 03:54:36 +00:00
simonb
648246d46a
Add an empty statement after a goto label to keep gcc-current happy.
2002-05-25 03:45:12 +00:00
perseant
d67a5bbb21
Fix a couple of instances where reassignbuf() was not done at splbio.
...
Tested on i386.
2002-05-24 22:13:57 +00:00
ragge
7259fa6a37
%d -> %ld in some debug messages, after the ELF switch.
2002-05-24 21:41:40 +00:00
ragge
4d559e645f
Boot support for the VXT2000 X terminal, based on some info on the VAXLinux
...
mailing list.
2002-05-24 21:40:59 +00:00
christos
7db182d94d
NBPG is not constant on the sparc, so don't use CPP tricks.
2002-05-24 18:10:06 +00:00
christos
0c5fed7eec
Deal with the NBPG problem in a better way.
2002-05-24 15:58:06 +00:00
briggs
2070a8bccc
Only attempt to handle mapping IDE interrupts if we are in SERIAL mode.
2002-05-24 15:47:17 +00:00
lukem
36bbd51aa2
Support NetMos NM9845 Quad UART and 1284 Printer port.
...
All 4 serial ports and parallel port seem to work.
2002-05-24 12:07:46 +00:00
lukem
863d1b7956
regen for NetMos Quad UART and 1284 Printer port
2002-05-24 11:54:22 +00:00
lukem
ed8833bc78
add NetMos Quad UART and 1284 Printer port
2002-05-24 11:50:20 +00:00
lukem
adc470b96d
only include scsi support if NSCSIBUS > 0
...
fixes sun2 (and probably sun3) DISKLESS kernel build
2002-05-24 09:51:07 +00:00
itojun
6f589cb1b2
extra blank line
2002-05-24 09:21:30 +00:00
itojun
c3015f8b5d
make a strict check before sending FQDN node information reply. sync w/kame
2002-05-24 09:13:59 +00:00
itojun
971ec4d861
missing IV handling in CBC mode (does not affect ESP code as we have
...
CBC handling in sys/netinet6/esp_core.c). sync w/kame
2002-05-24 06:28:06 +00:00
perseant
43ca783b4a
Back out rev 1.174 of vfs_subr.c, because the splbio() wasn't protecting
...
enough to be useful, and broadening it so that it did would have meant
that operations possibly requiring synchronous disk activity would have
to be done in splbio(). This clearly was not going to work.
Worked around this in the LFS case by having lfs_cluster_callback put an
extra hold on the vnode before calling biodone(), and taking the hold
off without HOLDRELE's problematic list swapping. lfs_vunref() will take
care of that---in thread context---on the next write if need be.
Also, ensure that the list walking in lfs_{writevnodes,segunlock,gather}
takes into account the possibility that the list may change
underneath it (possibly because it itself deleted an element).
Tested on i386, test-compiled on alpha.
2002-05-23 23:05:25 +00:00
bjh21
681c52938e
Regen (many new podules).
2002-05-23 22:01:14 +00:00
bjh21
e3d123e4e4
Add all the product IDs from <arm/xcb.h> on RISC iX 1.2. There are several
...
places where they disagree with our list (and reality). In those cases,
I've kept the old value and added a comment. The RISC iX list stops at
ID 181 (0xb5).
2002-05-23 22:00:49 +00:00
matt
486c7ce727
Add SIOCGIFDATA and SIOCZIFDATA ioctl's to get interface data. (the Z
...
variant also zeroes the counters after copying them). In ifunit, add
support for dealing all numeric ifname by treating them as an ifindex
which is used to look up the interface.
2002-05-23 21:34:39 +00:00
martin
40813b3bd4
When using standard (no scroll wheel) protocol, ignore garbage between
...
two packets (just like the old psm.c driver did). And don't insist on the
first byte having bit 0x08 set.
This makes some odd trackball device work.
Thanks to Tyler Mitchell for reporting and testing.
2002-05-23 19:00:28 +00:00
leo
c80fa51681
Not so fast... Add a bit of comment to the previous change.
2002-05-23 15:12:59 +00:00
leo
2ac118b51f
Treat the "hdfd" (Atari/Hades floppy) like all the other "fd"s. OK-ed by
...
Greg Oster.
2002-05-23 15:03:33 +00:00
leo
65dd34362f
Fix typo.
2002-05-23 14:59:28 +00:00
itojun
7e7fcd1df4
remove wrong "break" statement
2002-05-23 06:53:13 +00:00
leo
1babc14d15
Fix the siron()/siroff() macro's. They were using a too loose contraint
...
that made the wd-driver fall over on kernels compiled with the latest
assembler. The macro;s now use the single_inst_*() functions so there
are less places to go wrong here next time...
2002-05-23 06:46:20 +00:00
itojun
64a1cfbf83
no longer need IFT_PROPVIRTUAL "bridge[0-9]+" check.
2002-05-23 06:40:03 +00:00
leo
3f3c4827e0
Update md config:
...
- md0 -> 1MB image on a 720KB floppy
- md1 -> 1.44MB image on a 720KB floppy
- md2 -> 1.44MB image on a 1.44MB floppy
2002-05-23 06:39:32 +00:00
itojun
970757edd8
simplify conditions to do DAD. sync w/kame
2002-05-23 06:35:18 +00:00
leo
4393af0b6d
regen.
2002-05-23 06:32:42 +00:00
leo
2ad2395021
Remove the 'ex at pci' driver. The ex driver does not work with the
...
3c900-COMBO card at the moment. Something is wrong with DMA.
2002-05-23 06:30:32 +00:00
itojun
e1d17f512b
should perform DAD for IFT_GIF.
2002-05-23 06:28:25 +00:00
itojun
5a51285f02
do not have link-local address for IFT_BRIDGE
2002-05-23 06:25:25 +00:00
itojun
d64426f359
use IFT_BRIDGE
2002-05-23 06:19:39 +00:00
itojun
754f309c32
add recently-added IANA values from http://www.iana.org/assignments/smi-numbers
2002-05-23 06:18:44 +00:00
leo
5d6a896647
Force the absolute jump in a more elegant way. Suggested by Jaromir Dolecek.
2002-05-23 06:08:40 +00:00
itojun
e54108f021
in m_aux_delete, no need to chase beyond victim. from Archie Cobbs, sync w/kame
2002-05-23 05:45:34 +00:00
nathanw
eb5a18d259
Deliberately #include the appropriate arch-specific param.h to get
...
the correct value for NBSG, even when building with a different sun68k
target.
2002-05-23 03:50:37 +00:00
gmcgarry
da51df2271
Clarify comment: cpu_startup() doesn't do autoconfiguration.
2002-05-23 03:05:30 +00:00
jmc
deed1e1714
Fix bug in the way the config_found loop runs. Passing NULL doesn't work well.
2002-05-23 00:10:46 +00:00
briggs
f03fce66ce
Fix odd typo from addition of pba_bridgetag.
2002-05-22 23:54:14 +00:00
bjh21
f402b4faa2
Regen (sorting).
2002-05-22 23:46:53 +00:00
bjh21
2a1092efaa
Sort the Wild Vision parallel card into order.
2002-05-22 23:46:36 +00:00
bjh21
1e170f49cd
Regen (merge of RISC iX manufacturers list).
2002-05-22 23:27:16 +00:00
bjh21
35010db489
Merge in the list of manufacturer IDs from <arm/xcb.h> on RISC iX 1.2.
...
Where they differ with what we've had historically, I've kept our value
and added a comment. The RISC iX list stops at 65 (0x41).
2002-05-22 23:23:23 +00:00
bjh21
205186731b
Substantial overhaul of podule IDs. Unlike on PCI or USB, podule IDs are
...
assigned by RISCOS Ltd (and were assigned by Acorn) to be unique across all
manufacturers. This means that associating each one with a manufacturer (and
checking the manufacturer when attaching) is bogus. Thus, we don't do that
any more.
This should have the pleasant side-effect of getting APDL IDE interfaces
working, since they're just ICS ones with a different manufacturer ID.
2002-05-22 22:43:13 +00:00
bjh21
6d59ad5ec5
Add podule_readcmos(), for getting the CMOS configuration for a podule.
...
Only implemented on acorn26 for now, but the acorn32 implementation should
be pretty much identical.
2002-05-22 22:13:12 +00:00
manu
d72c924447
First implementation of a few usync_cntl commands.
2002-05-22 21:32:21 +00:00
thorpej
d4260bb037
Back out an unintended change.
2002-05-22 19:06:23 +00:00
wiz
f7d76b1062
bcmp -> memcmp.
2002-05-22 16:03:14 +00:00
wiz
45bbb2368f
bcopy -> memcpy. Reviewed by Greg Oster.
2002-05-22 15:40:47 +00:00
uch
ba28fa4dc2
change disklabel to
...
16 partition.
no bsd area of the disk.
2002-05-22 15:01:33 +00:00
drochner
7a829b7e85
-Subtract vm_map_min(kernel_map) from kernel virtual addresses to get offsets
...
into kernel_object where this was missing.
(important here because VM_MIN_KERNEL_ADDRESS != 0)
-add some diagnostics
-eliminate some differences to other Utah derived pmaps
2002-05-22 14:34:26 +00:00
drochner
60b6f587bc
Subtract vm_map_min(kernel_map) from kernel virtual addresses to get offsets
...
into kernel_object where this was missing.
This is a no-op on ports where VM_MIN_KERNEL_ADDRESS==0, ie all but
cesfic.
Confirmed and corrected by Chuck Silvers.
2002-05-22 14:29:23 +00:00
simonb
1c5a1746ae
Fix space/tab indentation nit.
2002-05-22 05:49:57 +00:00
manu
381f22f4de
File forgotten in the previous commit.
2002-05-22 05:14:51 +00:00
manu
23f31f2a3a
First implementation of IRIX /dev/usemaclone functionnalities. This
...
successfully emulates a few test program that use poll semaphores,
including the attach-to-file-descriptor-and-select feature.
There are a few issues:
1) at least one ioctl need to set retval. We handle this in irix_sys_ioctl()
by replacing the data argument by a pointer to a strucutre in the stackgap
that carries the real data and retval. The underlying ioctl methods can
therefore retreive both data and retval.
2) usemaclone is a cloning device: each time it is open, it creates a new
context, and ioctl operation on each open file descriptor will lead to
different behavior. This functionnality is available in NetBSD through the
devvp branch. This first implementation does not use devvp yet, but this
should be done later. Currently, we create a new vnode, and we provide our
own vnode operations. Some operation are applied to the cloned vnode, others
are applied to the original vnode. The v_data field is used to hold a
reference to the original vnode so that we can work on it.
3) at least the setattr vnode operation needs some customisation: IRIX
libc relies on the fact that fchmod on /dev/usema will return 0 in case
of failure.
2002-05-22 05:14:00 +00:00
manu
c56a07ad1c
Added an irix_machdep.h (in the future, COMPAT_IRIX will be available on
...
several MIPS architectures)
2002-05-22 04:59:45 +00:00
tv
d2f1bd9cd1
Wouldn't it be nice if there were only one thing that needed changing on a
...
full version bump? (Fix comment after __NetBSD_Version__.)
2002-05-22 03:29:09 +00:00
tv
9f4e74bc62
1.6 has branched. Welcome to "NetBSD 1.6A".
2002-05-22 03:18:19 +00:00
rafal
3ac921616c
Make sure to read from stdin, not stdout. From Scott Taylor.
2002-05-21 21:53:35 +00:00
rafal
722dca8509
Turn kernels into ecoff as well by default.
2002-05-21 21:01:34 +00:00
rafal
a5a7e0f25c
Add RAMDISK kernels for installation.
2002-05-21 21:00:35 +00:00
matt
077fee836c
Add code to distinguish between apple and sun gem cores.
2002-05-21 19:58:24 +00:00
tsutsui
4a46bc7dbc
boot block info stuff is now in MI <sys/bootblock.h>.
2002-05-21 16:11:11 +00:00
martin
2fe85a6623
Uniformly pass a "struct isdn_l3_driver *" through layer 2, so we
...
do not have to search for that driver later while we already knew it
at layer 1.
2002-05-21 10:31:10 +00:00
scottr
91087ff57e
Don Bruder's extensive debug output provided in PR 16907 showed that
...
intvid didn't find the frame buffer on his PB 170 in NetBSD 1.5. This is
because the PowerBook 140/145+145B/170 entries in intvid_info[] were
entered into the table directly from the corresponding hardware tech
notes. Unfortunately, the actual frame buffer is mapped at an offset
of 32 KB from the base of the region (at least when in 32-bit mode).
Since all 4 of these systems have identical video configurations, I'm
updating the rest to match.
2002-05-21 07:05:31 +00:00
manu
17f9f77621
Filling tables for device 62 (irix_usema) where it was missing
2002-05-21 06:35:08 +00:00
augustss
e05075c8d4
Rename a cpc device.
2002-05-21 03:05:00 +00:00
augustss
cd2c33190e
Add stuff for the CPC700.
2002-05-21 03:01:02 +00:00
augustss
54bb400a18
Add a driver for the IBM CPC700 chip. This chip is a host bridge for
...
PowerPC and provides a PCI-host bridge, interrupt controller, two com ports,
two IIC ports, a timer, and a DRAM controller.
The driver supports PCI, interrupts and com ports.
2002-05-21 02:58:25 +00:00
augustss
1c66d18529
Make it possible to override the way register access is done.
...
This is needed for some really screwball attachments of the CS8900.
2002-05-21 02:47:04 +00:00
thorpej
e839580821
Move kernel_lock manipulation info functions so that they will
...
show up in a profile.
2002-05-21 01:38:26 +00:00
lukem
f6995335d6
Change NEWS_BOOT_BLOCK_OFFSET from 512 to 0, since parts of bootxx do
...
get loaded to sector 0 (even though we have to copy the disklabel back in)
2002-05-21 00:19:17 +00:00
perseant
ec0ca919be
Protect v_freelist with splbio(), since HOLDRELE can be called in
...
interrupt context (through brelvp). (LFS may be the only subsystem
affected by this problem.)
Tested on i386.
2002-05-20 22:50:57 +00:00
jdolecek
9caf54f80a
readdisklabel(): fabricate sane default disklabel in case there isn't
...
any on the disk
Implemented by Christian Limpach, sent in port-next68k/16929.
2002-05-20 20:49:16 +00:00
jdolecek
89924fe79b
Fix race condition between the DMA handler (which gets called
...
on spldma), and rest of driver/network code (which runs on splnet) in way
if->if_snd queue is accessed. Solve by using intermediate queue.
Problem found, and fix provided by Christian Limpach in port-next68k/16798
2002-05-20 20:19:36 +00:00
jdolecek
56eb55e177
Adapt this to post thorpej-scsipi world.
...
Fix provided by Christian Limpach in port-next68k/16928.
2002-05-20 18:03:03 +00:00
jdolecek
a36ba752c5
Check for zsc properly, and fix typo in #include.
...
Pointed out, and patch provided by Christian Limpach in private e-mail.
2002-05-20 17:55:46 +00:00
mycroft
44024682c7
The FIX_RESUME_BUG hack does not work, so remove it.
...
Also, attempt to clarify the message slightly when updating the EEPROM.
2002-05-20 15:23:01 +00:00
lukem
854c067af6
Update to <sys/bootblock.h>'s shared_bbinfo.
...
(From Izumi Tsutsui <tsutsui@ceres.dti.ne.jp>)
2002-05-20 14:12:23 +00:00
lukem
f35d18a7da
Update to <sys/bootblock.h>'s shared_bbinfo.
...
From Izumi Tsutsui <tsutsui@ceres.dti.ne.jp>.
2002-05-20 14:05:22 +00:00
lukem
e9a2250850
- add news{68k,mips} definitions, from Izumi Tsutsui <tsutsui@ceres.dti.ne.jp>
...
- be consistent about #define<TAB>
2002-05-20 13:41:42 +00:00
jdolecek
ee7012d13e
linux_sys_getdents64(): remove the oldcall bug workaround cruft,
...
it's not needed for this call, and update comment accordingly
2002-05-20 06:45:11 +00:00
jdolecek
c118cb14c0
linux_sys_getdents64(): make the d_off member point to next entry, rather
...
than current one; this is expected (even documented) behaviour of the
new system call
This fixes the endless loop when reading directories on NFS, though
applications won't see all directory entries due to different problem.
Fix by Matthias Scheler and Charles Hannum.
2002-05-20 06:40:37 +00:00
jdolecek
aae43707d7
whitespace fixes
2002-05-20 06:26:46 +00:00
jdolecek
def25b45fa
Fix bug introduced in rev. 1.69 - linux_fakedev() returned always
...
zero for nontranslated raw devices.
This fixes recently discovered jdb /dev/dsp stdin problem, reported
on current-users by Mark Davies.
2002-05-20 06:22:43 +00:00
mhitch
d4b541239a
The second-stage boot loader, boot.amiga, uses the default command in the
...
boot loader image. Installboot can modify the default command in the
first-stage bootblocks, which will have no effect. Copy the default command
from the first-stage bootblock into the second-stage bootloader so modifying
the commandline with installboot actually works again.
2002-05-20 05:58:45 +00:00
scottr
c3abd2f233
From John Klos, originally committed to the amiga port:
...
Updated NKMEMPAGES_MAX_DEFAULT so that large memory systems won't crash
when allocating/deallocating lots of memory at once.
2002-05-20 05:28:11 +00:00
thorpej
7f2c33ee8b
Add another Linksys card.
2002-05-20 00:51:29 +00:00
bjh21
b741178a9b
Regen: RISC Developments IDE, FaxPack.
2002-05-19 22:34:07 +00:00
bjh21
b6c3ea4d91
Add a few Wakefield acquisitions:
...
Computer Concepts FaxPack
RISC Developments 8-bit IDE interface
Note about Oak EtherO card, which seems to share an ID with their SCSI card.
2002-05-19 22:29:57 +00:00
scottr
ed8eb9970b
SMALLRAM is an effective replacement for the SPOT and MYSTERY configs,
...
which are IIcx and IIx machines with not much RAM, respectively.
The PUMA config is configured somewhat optimally for one of Allen's
Quadras but doesn't do anything special as compared to SMALLRAM.
2002-05-19 22:01:01 +00:00
scottr
5b2ea74e40
Example configuration for a system with a slow 68030 with limited RAM.
...
This was derived from the old SPOT config and is a cousin of the MYSTERY
config, both of which will be summarily executed.
2002-05-19 21:58:27 +00:00
jdolecek
51260b556e
use 'jmp label:l' to force adressing to be absolute, rather than pc-relative
2002-05-19 21:40:04 +00:00
jdolecek
ce58107cdd
use jmp label:l to force absolute, rather than pc-relative, adressing
2002-05-19 21:34:16 +00:00
tls
92f8323be6
Fix client-side lockmgr: locking against myself panic immediately upon an
...
attempt to NFS-mount a filesystem with the -l (use ReaddirPlus RPC) option.
Fix from Bill Sommerfeld.
2002-05-19 20:51:04 +00:00
leo
5b406e9d20
Try to defeat the assembler optimizer. If we jump to a local label, it tries
...
to use a pc-relative jump. Which is definitely not what is needed in the
relocation code!
This is new in the current assembler apparantly. None of the kernels build
after my latest upgrade were able to boot... What else is lurking!
2002-05-19 20:26:58 +00:00
augustss
cea3466ea6
Add NEED_BINARY, similar to NEED_SREC.
2002-05-19 18:57:33 +00:00
augustss
7202dc2f30
Add CPU_CI symbol so that bzero.S actually compiles on ports other than walnut.
2002-05-19 18:56:54 +00:00
jdolecek
ff2064e0c8
make compat_linux LKM buildable on macppc
2002-05-19 18:18:36 +00:00
jdolecek
bfbe50611b
On archs with broken linux struct stat64 st_ino, rename linux_stat64's
...
lst_ino to __lst_ino and lst_ino64 to lst_ino, and define
LINUX_STAT64_HAS_BROKEN_ST_INO. Only assign __lst_ino if this define
is present.
This fixes compile on powerpc archs, and hence port-powerpc/16893.
2002-05-19 18:03:15 +00:00
jdolecek
98a5f2b671
hook in truncate64(2) and ftruncate64(2)
2002-05-19 17:55:42 +00:00
jdolecek
973744c531
add missing linux_file64.c, which is needed now
2002-05-19 17:55:08 +00:00
bouyer
953ad0720e
Add support for HPT374. Submited by Matthew Rezny in kern/16897, with
...
minor adjustements by me.
2002-05-19 17:40:46 +00:00
jdolecek
2fc860bc0d
make usable in LKM context (use #if defined(_KERNEL_OPT))
2002-05-19 16:55:43 +00:00
bouyer
5cf2b73fb8
Regen: add HPT372 and 74 PCI IDE controllers.
2002-05-19 16:02:44 +00:00
bouyer
503b19427a
Add HPT372 and 74 PCI IDE controllers.
2002-05-19 16:00:19 +00:00
msaitoh
7c10da8b66
fix some overflow cases.
2002-05-19 15:10:46 +00:00
itojun
12bdf036e2
pull in SPD lifetime management code. fix refcnt for SPD entries.
...
sync w/kame
XXX dead SPD entry lifetime - undergoing sakane's review
2002-05-19 08:22:12 +00:00
isaki
74b7155205
Ignore incompatible part between GNU tar and pax.
...
idea from Izumi Tsutsui <tsutsui@ceres.dti.ne.jp>
2002-05-19 08:14:13 +00:00
itojun
9244bd8154
document net.key.* sysctl. provide sysctl MIB for controlling
...
proposal payload on ACQUIRE message. sync w/kame
2002-05-19 08:12:55 +00:00
itojun
691d519c66
remove unneeded decl for __ss_{len,family}
2002-05-19 07:54:05 +00:00
augustss
aaf6178285
Handle the "aligment" fault generated by DCBZ when the cache is off.
...
That way you can run the processor with caches off.
2002-05-19 06:35:45 +00:00
augustss
4bc0b333ea
Update dma memory access API a little.
2002-05-19 06:24:30 +00:00
augustss
894da75819
Regen.
2002-05-19 06:20:01 +00:00
augustss
4b2bf1316d
Another mouse.
2002-05-19 06:13:29 +00:00
itojun
d2fd814987
in sp caching code, check if sp is still alive. sync w/kame
2002-05-19 00:46:40 +00:00
nathanw
6b65b300bf
Add missing common or OSF/1 PALcode instructions from the AARM: wtint,
...
clrfen, urti.
2002-05-19 00:23:50 +00:00
sommerfeld
404be58a8d
Regen
2002-05-19 00:19:22 +00:00
sommerfeld
889b8b80d2
Some E7500 device ids
2002-05-19 00:17:34 +00:00
sommerfeld
d7135de9ea
Regen
2002-05-19 00:01:29 +00:00
sommerfeld
11aa3c6a28
Fortunately for us, all interrupt controllers are not 8259's
2002-05-19 00:01:09 +00:00
sommerfeld
60cfb93a0f
Some P64H2 device ids
2002-05-18 23:58:00 +00:00
jmcneill
f70f5218cf
Add a 'tlp at pci' attachment to the laptop installation kernel. GENERIC_LAPTOP
...
already has this, and some machines (notably, mine :) ) have onboard tlp and
won't boot with INSTALL or GENERIC.
2002-05-18 23:49:40 +00:00
jklos
7cb0b700f0
Updated NKMEMPAGES_MAX_DEFAULT so that large memory systems won't crash
...
when allocating/deallocating lots of memory at once.
2002-05-18 23:00:32 +00:00
itojun
ea750a3018
sync with KAME.
...
- don't MALLOC() with M_WAITOK in the spl block.
move the allocation before splnet().
- when we reset vt of a class, reset the runtime service curve as well.
- don't use max() to compare 64 bit values.
2002-05-18 22:53:25 +00:00
itojun
1d8b891867
sync with KAME.
...
- make altq_etherclassify() able to handle packets whose ethernet header
is in a separate mbuf. closes netbsd PR 16559
2002-05-18 22:52:44 +00:00
sommerfeld
ce6cc5672c
Add "pa_rawintrpin" containing unswizzled interrupt pin to pci_attach_args.
2002-05-18 21:40:41 +00:00
ad
d7e512df18
- Use write barriers.
...
- NBPG -> PAGE_SIZE.
2002-05-18 20:59:20 +00:00
tsutsui
e8b1f54f84
Use ${.TARGET} where appropriate.
2002-05-18 19:03:10 +00:00
sommerfeld
314ef13c23
In pci_probe_device(), correct test for whether the device is behind a
...
pci-pci bridge (and thus needs its interrupts "swizzled").
Formerly, pci_probe_device() assumed pci busses other than bus zero
were bridged; however, much recent x86 hardware supports multiple
primary pci busses differently -- there is a system-wide bus numbering
scheme. Now, we instead look at the (newly introduced) sc_bridgetag
value in the parent bus to figure out if there's a ppb or equivalent
in the way.
This fixed at least one case where the i386 MP branch gets interrupt
mapping wrong.
2002-05-18 18:14:11 +00:00
bouyer
af09484589
Be more verbose when returning XS_DRIVER_STUFFUP
2002-05-18 16:09:43 +00:00
kent
820aca767e
USB_ATTACH: Initialize sc_plachan.altidx and sc_recchan.altidx with -1.
2002-05-18 15:14:39 +00:00
bouyer
29270413af
If the data len if not a multiple of 2 bytes, force PIO mode. DMA can't
...
deal with such xfers, and can wedge the system with some controllers.
It's a bug to request such xfers for ATAPI, but as the request may come
from userland we have to protect against it.
2002-05-18 14:49:55 +00:00
jdolecek
e8895ed0a1
Various whitespace fixes, and turn 'No packet to start' message to DPRINTF().
...
Mostly inspired by Christian Limpach's patch in port-next68k/16978.
2002-05-18 14:33:35 +00:00
jdolecek
88203d9c69
whitespace & formatting fixes, from Christian Limpach in port-next68/16798
2002-05-18 14:09:44 +00:00
isaki
1dc0c84b6b
Make ELF kernel loadable, by itohy-san.
2002-05-18 13:54:38 +00:00
lukem
572fd50bc0
enable scsi_find (et al) only if NSCSIBUS > 0
2002-05-18 07:32:11 +00:00
matt
77820698c6
Add lfmiop (LSILogic Fusion-MPT I/O Processor) placeholders for
...
driver to added latter.
2002-05-18 07:23:04 +00:00
matt
cad72c184d
Regen.
2002-05-18 07:19:41 +00:00
matt
01b871fa50
Add SYMBIOS FC9[12]9 and 1030R
2002-05-18 07:19:16 +00:00
uch
272ed861db
BSD raw partition is obsolete. raw partition is changed to C.
2002-05-18 07:13:01 +00:00
lukem
491a00e92d
add missing union sun3sir sun3sir; (hi gimpy!)
2002-05-18 06:59:12 +00:00
lukem
633e8d9515
minor cosmetic tweaks:
...
- put \r\n before OF_open message
- use '0' + i % 10 instead of 'A' + i to print the read block number
2002-05-18 04:24:22 +00:00
lukem
4fa13b2be7
nuke MD installboot, now that it doesn't understand the macppc
...
bootblocks anymore and /usr/sbin/installboot does
2002-05-18 04:06:12 +00:00
enami
1578726840
Just give up to do readahead rather than waiting busy pages.
...
While I'm here, added few patchable variable so that one can
easily measure readahead behaviour.
2002-05-18 02:54:57 +00:00
eeh
4678e53555
Fix inverted comparison. We only wan to flush the I$ on *userland* executable
...
mappings.
2002-05-18 00:51:15 +00:00
mjacob
7aac86133e
Pointy hat to me on the last delta.
2002-05-18 00:48:11 +00:00
martin
bdd46f7081
(Mostly) backout previous, with some slight modifications.
...
Restore the reset thread, to make resetting the interface possible while
not blocking interrupts.
Make sure to throw away garbage input while the reset thread is at work
(by setting sc_enabled a bit later).
Issue a PMS_RESET command when resetting to address PR 16788.
2002-05-17 22:49:48 +00:00
enami
2afb4efc4c
Make uvn_findpages to return number of pages found so that caller can
...
easily check if all requested pages are found or not.
2002-05-17 22:00:50 +00:00
perseant
36efaa3565
use macros from <sys/queue.h>
2002-05-17 21:42:38 +00:00
mjacob
a14da6673f
Replicate change that Matt Thomas made in isp_pci- if we get ENOMEM/EAGAIN
...
in bus_dmamap_load, return CMD_EAGAIN rather than just make the command dead.
2002-05-17 19:06:24 +00:00
mjacob
c3514c8f6d
Slight touchup on last change- make sure HBA_BOTCH is set (just in case
...
somebody at a different level does the wrong thing) on ENOMEM/EAGAIN returns
from loading DMA.
2002-05-17 19:05:08 +00:00
mjacob
16fa96cfc8
Give XS_DRIVER_STUFFUP a case all by itself.
2002-05-17 18:56:05 +00:00
lukem
b3facf5a7d
reduce MACPPC_BOOT_BLOCK_MAX_SIZE from 6K to 2K, to fit what bootxx is
...
limited to (and a CDROM limitation as well?)
2002-05-17 18:53:34 +00:00
mjacob
c2d194880d
Fix seveeral issues- but the most important of which is that we have
...
to check if we get a RQCS_DATA_UNDERRUN - if we're an FC card, we may
not have RQCS_RU set- if it isn't set, we just lost a DATA XFR IU in the
middle of the exchange. In this case, we have to bomb out the whole xfer.
We had been getting silent data corruption before.
2002-05-17 18:49:42 +00:00
lukem
7f3c3f9b76
Fixes from Bill Studenmund and Allen Briggs:
...
- setup a 32KB (+32byte) stack, instead of 4KB stack
- cache flush: use _start instead of 0x4000, and flush 2k instead of 1k
Features (by me):
- implement:
OF_write() (and grab "stdout" from "/chosen")
putstrn(s,n) using OF_write(); write string s of n bytes long
putstr(s); write fixed-sized string s
putc(c); write char c
- add some useful messages which output the status of loading the
stage 2 bootstrap (which is usually ofwboot)
This code now works on Bill's Beige G3!
2002-05-17 18:45:55 +00:00