ichiro
dcd782fb65
use sapcic_cookie
2001-07-10 17:23:18 +00:00
ichiro
e205409087
sapcic_socket shouldn't use ipaq_softc. use sapcic_cookie
2001-07-10 17:22:04 +00:00
ichiro
6952d8194a
delete Extended-GPIOs mapping
2001-07-10 16:39:33 +00:00
ichiro
0d2e761def
sa11x0_pcic* moved to arch/hpcarm/dev and renamed ipaqpcic*
2001-07-10 16:37:29 +00:00
ichiro
75f2a81776
sa11x0_softc -> ipaq_softc
...
because PCIC of sa11x0 moved to the bottom ipaqbus
2001-07-10 16:35:59 +00:00
ichiro
50ac712dbc
add ipaqbus and ipaqpcic
2001-07-10 16:34:08 +00:00
ichiro
f408349001
add iPAQ virtual bus and PCIC of iPAQ
2001-07-10 16:31:52 +00:00
matt
0f5c5cb556
Add tlp* at pci? (for Netra X1).
2001-07-10 15:42:42 +00:00
kanaoka
9a9ba5a896
Add ukphy.
2001-07-10 15:33:18 +00:00
mrg
03faa7ca71
use CPU_READY(). add cross_call() code.
2001-07-10 15:15:24 +00:00
mrg
17f1119062
use CPU_READY(). disable smp_tlb_flush_*() for now; they hang.
2001-07-10 15:12:59 +00:00
mrg
cfde907d22
de-__P()ifify. prototype cross_call().
2001-07-10 15:11:54 +00:00
mrg
781b07308a
enable XPMSG_FUNC support.
2001-07-10 15:09:04 +00:00
mrg
8daf254cdc
use CPU_READY()
2001-07-10 15:03:46 +00:00
mrg
7e7f85881b
new CPU_READY() macro, determines if a CPU is accepting IPIs.
2001-07-10 15:02:50 +00:00
ichiro
4a84e3e7bd
Separation of SA-11x0 GPIOs and iPAQ specific GPIOs.
2001-07-10 14:58:28 +00:00
lukem
dfaec93e4e
move to kqueue branch for now
2001-07-10 11:59:50 +00:00
haya
bed2ac704f
Bug fix: call extent_subregion() with alignment = 1 instead of 0.
2001-07-10 10:33:55 +00:00
eeh
51c13f6a22
Fix a 32-bit warning.
2001-07-10 06:06:16 +00:00
bjh21
d715053902
As far as I can tell "options IOMD" is never referenced, so remove it.
...
Anything that needs to know if we're building for an IOMD machine can check
NIOMD.
2001-07-10 00:52:29 +00:00
bjh21
55a4aace27
Use NIOMD to determine if we're on an IOMD system, rather than
...
RISCPC || CPU_ARM7500. I think this removes that last substantive use
of CPU_ARM7500 in the kernel (hooray!).
2001-07-10 00:41:12 +00:00
chs
864f123d5a
add a missing newline in a printf.
2001-07-10 00:36:36 +00:00
bjh21
cf9453aeae
iomd is marked "needs-flag", and this file is conditional on iomd, so
...
NIOMD == 1 whenever this file is included. Don't bother asserting it.
2001-07-10 00:36:10 +00:00
bjh21
838c7e36a1
Remove a confused (probably outdated) comment.
2001-07-10 00:09:44 +00:00
bjh21
469339d93c
Clean up some cruft left behind (but AFAIK never used) from poduleirqhandler().
2001-07-10 00:04:30 +00:00
bjh21
368f9c15c1
Remove another spurious #ifdef CPU_ARM7500.
2001-07-09 23:35:58 +00:00
simonb
cb89e2e488
ANSIfy.
2001-07-09 23:35:56 +00:00
reinoud
8ca7d6ec9c
Initial commit for merging A7000/NC with the RISCPC in order to get _one_
...
bootable GENERAL kernel for the 3 machines.
This is done by integrating the ARM7500 in a better way. In various places
the IOMD ID is checked and action is taken at runtime compared to
compiletime.
The small piece of assembler that is changed now uses the flag
`arm7500_ioc_found' that is set up by iomd.c at startup. When this chip
isnt found at startup it will skip reading the ARM7500 extended IRQ
registers and wont clear them either.
The next step will be getting the mode-definition files to the bootloader.
Currently they are compiled in.
2001-07-09 21:46:19 +00:00
reinoud
1f5b07de6a
Changed the variable within the ARM6 late abort section from cpu_ctrl to
...
cpuctrl ...
2001-07-09 19:51:14 +00:00
uch
197743b640
remove unnecessary includes, initialize.
2001-07-09 18:18:25 +00:00
wiz
3aec94a3e1
Fix comments for EXEC_AOUT and EXEC_SCRIPT.
2001-07-09 16:09:02 +00:00
soren
ce3293accb
ncr(8) is gone from the tree, so remove ^#ncr*.
2001-07-09 15:05:22 +00:00
leo
7a2ca439a7
defopt atari scsi options.
2001-07-09 14:49:49 +00:00
leo
7a68fa7e1d
Regen.
2001-07-09 14:01:09 +00:00
leo
3c70de7dc9
Remove Ident.
2001-07-09 13:37:38 +00:00
leo
21315cd1f5
Add SysV Semaphore tunables.
2001-07-09 13:37:06 +00:00
leo
9c4c15292b
Nuke some cf_unit abuses.
2001-07-09 12:06:35 +00:00
simonb
bc45d3d53c
ANSIfy.
2001-07-09 10:54:12 +00:00
simonb
2fb6ef500e
De-__P kernel prototypes.
2001-07-09 10:25:21 +00:00
itojun
09ddb6a1f1
do not #ifdef in headers. usr.sbin/trpt needs it.
2001-07-09 07:53:20 +00:00
itojun
3e747f67fa
regen
2001-07-09 06:58:26 +00:00
itojun
2646db5158
add product code for 3Com 3CRWE62092A Wireless LAN
...
(what is the sorting rule for the file?)
2001-07-09 06:57:59 +00:00
toshii
c90ac4b756
Sync with rev. 1.5 of sa11xx_pcicvar.h.
2001-07-09 06:20:31 +00:00
toshii
57755d7760
sapcic_socket shouldn't use sacc_softc, use opaque data type instead.
2001-07-09 05:19:05 +00:00
ichiro
340a8b97ca
Add hpcarm devices sagpcic
2001-07-09 03:51:59 +00:00
kim
1dc43ac2f2
Map OSS mixer device "line1" to native mixer device "aux".
2001-07-09 03:21:32 +00:00
thorpej
ce8c5df2c6
Count and display the number of CPUs present on the system.
2001-07-09 02:00:19 +00:00
simonb
5d17649545
bcopy -> memcpy
2001-07-09 01:43:26 +00:00
thorpej
8ea809324e
Fill in cpu_model[]
2001-07-09 00:30:35 +00:00
thorpej
af0e157b66
- Use the identifier strings that are fetched by the MI ARC BIOS
...
code.
- Garbage-collect some non-useful stuff from the mainbus_attach_args.
2001-07-08 23:59:31 +00:00
thorpej
3f6eb8677a
When we initialize the ARC BIOS, fetch the system ID structure
...
fields into local copies, as well as the Identifier string from
the System component.
2001-07-08 23:57:09 +00:00
thorpej
9d1d1b8a89
Make the field names in the system ID structure match the spec.
2001-07-08 23:56:03 +00:00
rjs
72c860d841
Initial copy of SA11x0 support from hpcarm.
2001-07-08 23:37:52 +00:00
rjs
35dc2ba462
Initial copy of SA11x0 support from hpcarm.
2001-07-08 23:20:04 +00:00
thorpej
d93e047b19
Add routines to walk the ARC BIOS component tree.
2001-07-08 22:57:10 +00:00
eeh
9481b31f8f
Code cleanup. Add block_disable to let you turn on block set/copy routines.
2001-07-08 21:05:11 +00:00
thorpej
edeeafe82b
bcopy -> memcpy, bzero -> memset
2001-07-08 21:04:50 +00:00
thorpej
2b351e4a6f
- If the multicast address list changes, make sure to kick the chip.
...
- Remove unnecessary includes.
- Slight cosmetic change in sq_start().
2001-07-08 20:57:34 +00:00
thorpej
e9fd7a6a2b
Use sys/dev/arcbios.
2001-07-08 20:30:13 +00:00
thorpej
e379ce3db0
Initial pass a ARC BIOS code that can be shared between the sgimips
...
and arc ports.
2001-07-08 19:58:02 +00:00
chs
b86053cc53
clean up pmap_k{enter_pa,remove}():
...
a page is allowed to be mapped normally when k-mapped.
use UVM_PGA_ZERO to get zeroed pages rather than zeroing here.
2001-07-08 19:44:43 +00:00
perry
4ae18c882f
Since setrunqueue and remrunqueue now have documentation, remove my
...
obnoxious comments saying they should be documented, and reference
setrunqueue(9) and remrunqueue(9) instead. Thanks Nathan!
2001-07-08 19:33:44 +00:00
wiz
fc687b32f5
Fix last commit: It's ">", not "<", in this case. Okay'd by christos.
2001-07-08 19:08:48 +00:00
christos
7d591946ec
add verbiage to error
2001-07-08 18:57:50 +00:00
wiz
cc0b68092e
Correct various misspellings of 'transfer' and inflected forms.
2001-07-08 18:06:42 +00:00
thorpej
3d98de578f
Remove unnecessary include files. From Onno van der Linden.
2001-07-08 17:55:50 +00:00
thorpej
fa91d59528
Remove unnecessary include files, from Onno van der Linden.
2001-07-08 17:52:02 +00:00
wiz
daa5d204e4
synchron*, not sychron*
2001-07-08 17:41:14 +00:00
uch
ebad8fb5d8
when "safety message" check box is not checked, no symbol kernel is
...
loaded to memory silently. (its MessageBox will bother)
2001-07-08 17:19:02 +00:00
thorpej
bc5d06ea08
Some cosmetic shuffling.
2001-07-08 17:15:45 +00:00
uch
4f4b4d40ed
I forgot to commit. std.hpcsh.el -> std.hpcsh
2001-07-08 17:02:36 +00:00
thorpej
9de94b45cc
Fix a very, very dumb mistake that broke multicast on the dp83815
...
and dp83820.
2001-07-08 16:56:50 +00:00
abs
8b9a19cb3d
Leave TCP_DEBUG commented out _everywhere_.
...
Time to replenish clueon charge with caffine...
2001-07-08 16:36:11 +00:00
abs
29dcb5e3f6
(Regenerated atari and amiga)
...
Standardise TCP_COMPAT_42 as commented out, grouped with other COMPAT options,
and with the comment '4.2BSD TCP/IP bug compat. Not recommended'
Add commented out 'TCP_DEBUG # Record last TCP_NDEBUG packets with SO_DEBUG'
(All hail amiga and atari which make some attempt to automate the
multiplicity of config files...)
2001-07-08 16:34:03 +00:00
abs
01b024cd5b
Standardise TCP_COMPAT_42 as commented out, grouped with other COMPAT options,
...
and with the comment '4.2BSD TCP/IP bug compat. Not recommended'
Add commented out 'TCP_DEBUG # Record last TCP_NDEBUG packets with SO_DEBUG'
(All hail amiga and atari which make some attempt to automate the
multiplicity of config files...)
2001-07-08 16:32:12 +00:00
abs
03aaf3d8b4
Rename TCPDEBUG to TCP_DEBUG, defopt TCP_DEBUG and TCP_NDEBUG, and
...
make all usage of tcp_trace dependent on TCP_DEBUG - resulting in
a 31K saving on an INET enabled i386 kernel.
2001-07-08 16:18:56 +00:00
abs
8e18beaa86
Use SPPDEBUG not TCPDEBUG here
2001-07-08 16:14:22 +00:00
abs
2f72fbeeab
Give TCPDEBUG a chance of working - fix printf() types, add missing &s,
...
and remove attempt to use a non existant tcphdr field.
2001-07-08 15:59:18 +00:00
mrg
184c606354
modify setpgt4m_va() to clean up (remove) several #ifdef MULTIPROCESSOR points.
...
catchup pmap_kenter_pa4m() and pmap_kremove4m() with SMP safe PTE updates.
2001-07-08 15:58:42 +00:00
bjh21
260f6ffe33
Remove the old Ether3 and EtherB drivers, since the new ones seem to work fine.
2001-07-08 15:41:55 +00:00
uch
1a5b55dce9
dont' round up physical memory size.
2001-07-08 15:15:25 +00:00
rearnsha
471acbf74f
Fix a couple of minor merge botches from the new scsipi merge.
...
More minor formatting tidyups.
2001-07-08 14:50:05 +00:00
ichiro
89ebce9618
comment out: bus_space_write_2
2001-07-08 14:45:36 +00:00
ichiro
ec7a32a628
cosmetic change
2001-07-08 14:45:03 +00:00
ichiro
320adf2df7
comment out: bus_space_write_2
2001-07-08 14:43:52 +00:00
ichiro
0e7c688b67
add definition of EGPIO_LCD_INIT
2001-07-08 14:41:14 +00:00
uch
b0b7628145
remove redundunt header include and function declaration.
...
(pointed by MAEKAWA Masahide.)
2001-07-08 10:42:37 +00:00
ichiro
9e80e9aca3
fix and fill Extended-GPIO
2001-07-08 10:36:31 +00:00
martin
125af1e024
bcopy -> memcpy; Nuke bogus local compatibility defines for it.
2001-07-08 10:33:58 +00:00
jdolecek
9bbd53c2ba
vfs_sysctl(): cosmetic: provide explicit size for vfsnames[], to catch
...
mistakes VFS_MAXID/CTL_VFS_NAMES are updated
2001-07-08 10:32:38 +00:00
ichiro
9c344c76c8
add LCD register definition
2001-07-08 06:38:59 +00:00
wdk
fa993060eb
change b*() -> mem*()
2001-07-08 04:25:36 +00:00
ichiro
a8696d3a73
Extended GPIO address is 0x49000000.
2001-07-08 03:33:42 +00:00
fvdl
2017fd0179
flags was used uninitialized.
2001-07-07 23:33:54 +00:00
wdk
962a2e51fb
Add typical KGDB settings, and leave commented out.
2001-07-07 23:17:58 +00:00
wdk
bda50bcdd4
- Finish off KGDB kernel debugger support for sgimips
2001-07-07 23:13:25 +00:00
wdk
d80e8c579c
Disable single step when entering KGDB. S-S will be enabled later if
...
required. This duplicates the behavour used by DDB in db_stop_at_pc()
Architectures that emulate single step in software (SOFTWARE_SSTEP) don't
clear their temporary breakpoints making it impossible to restart on the
same instruction.
2001-07-07 22:58:00 +00:00
perry
c3748d9175
b*()->mem*()
2001-07-07 22:57:57 +00:00
mrg
3079cac680
- implement XPMSG_DEMAP_TLB_PAGE, XPMSG_DEMAP_TLB_SEGMENT,
...
XPMSG_DEMAP_TLB_REGION, XPMSG_DEMAP_TLB_CONTEXT and XPMSG_DEMAP_TLB_ALL
- new setpgt4m_va(), call it when you need to ensure all cpus see the same value
- new smp_tlb_flush_context(), smp_tlb_flush_region(), smp_tlb_flush_segment(),
smp_tlb_flush_page() and smp_tlb_flush_all() functions, if MULTIPROCESSOR
- define the tlb_flush*() routines to the smp_*() versions, if MULTIPROCESSOR
- sun4m safe PTE update updatepte4m() routine, vaguely derived from code posted
by torek@bsdi.com on port-sparc a couple of years ago.
- new nmihard_lock to synchronize other cpus during hard NMI. (XXX: should be
a bit smarter about which CPU's do/don't check in.)
2001-07-07 21:23:53 +00:00
mrg
0e295568bb
lock xpmsg_lock around the safefpu ipi.
2001-07-07 20:12:54 +00:00
mrg
eafaa5ffea
- replace CPUFLG_STARTUP with new CPUFLG_READY scheme, used after startup has
...
occured. cpus now spin waiting for new `go_smp_cpus' variable to go non-zero.
- new xpmsg_lock that must held around all cross call activity. new macros:
LOCK_XPMSG() and UNLOCK_XPMSG().
- delete delay(1)/cache_flush gone from raise_ipi_wait_and_unlock(), it incurred
a stupid performance penalty.
2001-07-07 20:09:15 +00:00
perry
fe1a05f50a
add ovbcopy macro for KAME compat.
2001-07-07 18:26:26 +00:00
thorpej
62794086ea
Change the structure of dp83815_set_filter ever so slightly.
2001-07-07 17:37:39 +00:00
perry
5624bbb1d4
restore bzero and bcmp prototypes for now -- this has to be hashed out.
2001-07-07 17:22:25 +00:00
tsutsui
df016928f8
Remove (commented out) ncr* at pci? lines.
2001-07-07 17:09:47 +00:00
perry
3b89bf8100
Remove ovbcopy macro added in last commit.
...
I think we should sit back and have an actual discussion on all of
this and come to consensus before we make any more changes in all of this.
2001-07-07 17:07:26 +00:00
thorpej
c8b4ac1b17
bcopy -> memcpy
...
bzero -> memset
2001-07-07 17:04:01 +00:00
thorpej
4953d4e85f
bzero -> memset
2001-07-07 16:51:47 +00:00
thorpej
6c248b757c
bcmp -> memcmp
2001-07-07 16:50:41 +00:00
thorpej
3a235c46fa
bcopy -> memcpy
2001-07-07 16:50:14 +00:00
thorpej
3ae6eaea7f
bcopy -> memcpy, strcpy
2001-07-07 16:49:57 +00:00
thorpej
7e92a47db9
bcmp -> memcmp
2001-07-07 16:47:43 +00:00
thorpej
51e70f6731
bzero -> memset
2001-07-07 16:46:34 +00:00
thorpej
80f54c0005
bcopy -> memcpy, strcpy
2001-07-07 16:40:23 +00:00
thorpej
46909109f4
bcopy -> strcpy
2001-07-07 16:39:16 +00:00
thorpej
008dd21471
bcopy -> memcpy
2001-07-07 16:37:38 +00:00
uch
b92d40fcb6
std.hpcsh.el -> std.hpcsh (no big-endian WindowsCE)
...
add shl-elf_.x (for LEADING_UNDERSCORE ELF)
bcopy -> memcpy
2001-07-07 16:35:22 +00:00
tv
1a4f57e22c
Add (parenthetical) macro protection for one of the ovbcopy macro args.
2001-07-07 16:35:21 +00:00
thorpej
dfd7f38a43
Remove config glue for the old `ncr' driver.
2001-07-07 16:34:33 +00:00
thorpej
444f8e5f30
Remove the old NCR 53c8xx driver. It no longer compiles (it was not
...
updated for the thorpej_scsipi branch), and has been replaced by Manuel's
MUCH BETTER `siop' driver.
The code can still be referenced by using cvsweb, checking out an
old revision, whatever. But it's no longer useful to have it appear
in a checked out source tree.
2001-07-07 16:20:55 +00:00
thorpej
0884f20bf7
bzero -> memset
2001-07-07 16:13:44 +00:00
thorpej
7f597fba74
bcopy -> memcpy, strcpy, memmove
2001-07-07 16:00:09 +00:00
thorpej
150ca9d41a
bcopy -> memcpy, strcpy
2001-07-07 15:59:37 +00:00
minoura
7e84e14950
Sync with GENERIC.
2001-07-07 15:59:31 +00:00
thorpej
06ff822b44
bcopy -> strcpy
2001-07-07 15:57:50 +00:00
thorpej
7a4838199c
bcopy -> memcpy
2001-07-07 15:56:07 +00:00
ichiro
66a6cc178d
pcmcia support of SA1110
2001-07-07 15:53:24 +00:00
thorpej
7711ad565b
bcopy -> memcpy
2001-07-07 15:53:13 +00:00
ichiro
f9d2eac504
Initialization of Extended GPIOs
2001-07-07 15:50:37 +00:00
ichiro
975265e67e
add extended GPIOs register
2001-07-07 15:49:41 +00:00
tsutsui
b485c6b542
Update for news68k clock attachment changes.
2001-07-07 15:49:05 +00:00
tsutsui
d49986b17f
Split clock device attachment into interval timer and todclock
...
since they are actually independent devices.
2001-07-07 15:27:19 +00:00
eeh
a2cda80fea
Also handle FPU registers.
2001-07-07 15:16:13 +00:00
jdolecek
aa912c8ec5
Call inittodr(0) on end of cd9660_mountroot(), so that system time is properly
...
reset to value presented by system battery-backed clock.
Fixes kern/13364 by Rob Quinn.
2001-07-07 14:53:55 +00:00
itojun
5e920039c6
have ovbcopy() macro, for cross-BSD compatibility only.
2001-07-07 14:45:46 +00:00
jdolecek
e24cc0f4c5
compat_43_sys_send(): wrap using sys_sendto() rathen than sendit()
...
compat_43_sys_recv(): wrap using sys_recvfrom() rathen than recvit()
2001-07-07 14:44:45 +00:00
simonb
c23e6dcb90
b{cmp,copy,zero} -> mem{cmp,cpy,set}
...
Also remove some unnecessary argument casts.
2001-07-07 14:20:59 +00:00
simonb
5439e1a9ff
Put the prototypes for bcmp() and bzero() back (ifdef _STANDALONE) so that
...
libsa builds again.
2001-07-07 12:23:43 +00:00
ichiro
c65c21e1f7
bcopy -> memcpy
...
bzero -> memset
2001-07-07 10:43:11 +00:00
toshii
35836fce7a
bcopy -> memcpy, bzero -> memset.
2001-07-07 09:19:39 +00:00
scw
c1ab2b5460
bcopy -> memcpy
...
bzero -> memset
bcmp -> memcmp (note that the MI libsa's memcmp() still calls bcmp()...)
2001-07-07 09:06:43 +00:00
toshii
5455a9ad87
Use platid based mechanism to select PCMCIA socket voltage.
2001-07-07 08:45:43 +00:00
ichiro
2ee26bb302
s/saip_softc/sa11x0_softc
2001-07-07 08:10:15 +00:00
simonb
6555a67971
Catch up with (2 month old!) changes to dev/scsipi/scsi_all.h so pmax MD
...
SCSI kernels work.
2001-07-07 07:52:02 +00:00
scw
ff267f1e06
bzero -> memset
...
bcopy -> memcpy
bcmp -> memcmp
2001-07-07 07:51:37 +00:00
ichiro
b1a5e525b8
mapping extended GPIOs
...
iPAQ: Extended GPIOs appears at address 0x41000000
2001-07-07 07:04:56 +00:00
ichiro
cd3fb67f14
bzero->memset, bcopy->memcpy
2001-07-07 06:29:13 +00:00
tsutsui
fe30b5a627
bzero() -> memset()
2001-07-07 06:24:00 +00:00
perry
0d05392733
bzero->memset, bcopy->memcpy
2001-07-07 05:58:12 +00:00
perry
7ab9c62227
Remove bcmp and bzero prototypes. And yes, I actually checked and
...
tested this time. (Slap self repeatedly.)
2001-07-07 05:42:16 +00:00
thorpej
c2c26e1362
bcmp -> memcmp
2001-07-07 05:35:39 +00:00
perry
b2237246e2
I'm an idiot.
2001-07-07 05:22:10 +00:00
perry
9d7de51394
Add memcmp, memcpy, memmove and memset prototypes, which should have
...
been here a long time ago.
XXX should this file be un-__P'ed in the new regime? It isn't used in
userland...
2001-07-07 05:15:56 +00:00
tsutsui
6005077f81
bcopy() -> memcpy() (I guess there is no overlap here)
2001-07-07 05:09:43 +00:00
perry
7a31be3198
move the bcopy macro back to generating memcpy.
...
Here is why:
kernel bcopy and userland bcopy semantics were never the same. bcopy
in the kernel did not traditionally handle overlap.
ovbcopy in the kernel was the traditional "overlapping bcopy".
Lets take a step back here. The point of the macros was to provide
legacy interfaces so we could transition to mem* without disrupting
large parts of the code still being repeatedly merged, like the KAME
merges in net*/. Having purged the last ovbcopy from the kernel,
replacing them all with memmove, we didn't need ovbcopy any more so we
didn't need a macro.
Now, by leaving bcopy as memcpy, we make it clear that if you are
purging bcopys, you should replace them with memcpys. If we used
memmoves everywhere, it would lose very painstaking optimizations made
in the original code during which the ovbcopy/bcopy distinction was
held. Making bcopy into memmove is BAD BAD BAD.
It has been argued we should add an ovbcopy->memmove macro, but that
is precisely what we do not want -- if someone needs ovbcopy, what
they really want to write memmove, not ovbcopy. We don't want NEW code
with ovbcopy, having laboriously gotten rid of it.
In fact, the bcopy/bzero/bcmps in the kernel should all be purged. We
held off on doing net*/ to make the kame merge easier, and similarly
held off on some other places, but the time has come.
Anyway, for all these reasons, bcopy is changed back to memcpy.
2001-07-07 04:14:43 +00:00
thorpej
9ec2341af3
Add support for jumbo Ethernet frames on the DP83820.
2001-07-07 02:32:38 +00:00
mjacob
0134959e74
If I've told myself once, I've told myself 1000 times- *NEVER* commit
...
w/o test compiling first. Argh. I nuked one extra line that I shouldn't
have.
2001-07-07 01:44:21 +00:00
thorpej
cf65d4738c
Add a bunch of Vital Product Data definitions.
2001-07-06 20:20:55 +00:00
chris
4c32798eb8
Implement proper versions of kenter_pa and kremove, I've based them on versions provided by Richard E.
2001-07-06 20:15:13 +00:00
scw
8593b82c71
One less item (h/w assisted soft interrupts)
2001-07-06 20:12:34 +00:00
scw
35110949ce
Ditch the `simulated' software interrupt in favour of
...
hardware-assisted soft interrupts on all boards.
(Note: VMEChip2-less 162/172 not yet tested)
This greatly simplifies the `rei' path and allows
interrupt nesting to be tracked somewhat more easily.
As a result we now have a working CLKF_INTR() macro
and can detect uvm_fault() being called from an interrupt
(although there may still be a very short race detecting
the latter; need to investigate further).
2001-07-06 19:00:12 +00:00
mcr
ddb7c50037
added bridge secondary bus reset macros.
2001-07-06 18:07:16 +00:00
mcr
aa7bfea672
split pccbb_intr_route() into seperate function.
2001-07-06 18:06:59 +00:00
mcr
c34df0c33d
cardbus attachment for PCI-PCI bridges
2001-07-06 18:05:59 +00:00
mcr
90e0ca31dd
record handles for memory and io spaces
2001-07-06 18:05:25 +00:00
mcr
97eac1b54c
context argument added to pci_device_foreach().
2001-07-06 18:04:58 +00:00
mcr
b44d7d55a5
added some debugging to error message in pci_intr_map().
2001-07-06 18:04:22 +00:00
mcr
07ba5352f1
extra argument to pci_device_foreach().
2001-07-06 18:03:47 +00:00
mcr
8c020dd2f7
when fixing up buses, keep track of the parent of each bus,
...
and the pcitag to access the primary side of that bridge.
2001-07-06 18:03:17 +00:00
mcr
6244484599
added context parameter to pciaddr_resource_{reserve,allocate}
...
and to pci_device_foreach().
added new function pci_device_foreach_min().
2001-07-06 18:02:35 +00:00
mcr
b76e5c586a
added some error checking on return from rbus_new_root_share().
2001-07-06 18:01:26 +00:00
mcr
74ed6c9ddb
new config file for M700 notebook with Cardbus and CBII support
2001-07-06 18:00:50 +00:00
toshii
70e10fb682
Remove bcmp, bcopy and bzero. We don't need them as they aren't
...
called from asm code, and we shouldn't have them if we don't need them.
2001-07-06 17:35:44 +00:00
thorpej
2861457faf
Fix a typo in htosonic32(), pointed out by soda@netbsd.org.
2001-07-06 16:20:07 +00:00
mjacob
f0ba6b733c
White space cleanup. Fix oopslet about having overlapping loop states.
...
Handle FW crashes as an isp_async call. Reclaim a missing logging level
bit.
2001-07-06 16:19:10 +00:00
mjacob
3628ea89ae
Add some wads more definitions. Add macros for request/response queue
...
in/out pointer access.
2001-07-06 16:18:08 +00:00
mjacob
70d59a5876
Minor comment update.
2001-07-06 16:17:36 +00:00
mjacob
5089fba315
Defer turning off the no_mbox_ints flag until after the system is ready
...
for interrupts. Handle FW crashes in outer layer.
2001-07-06 16:17:17 +00:00
mjacob
092afb0ce9
More 2300 support: macroize access to request/response in/out pointers.
2001-07-06 16:16:11 +00:00
mjacob
9386c78f88
Some whitespace cleanup. Initial forcelout support.
...
Fix longstanding bug where we should have been checking
against Channel B's settings to see whether to apply tag
usage. Oops.
Some more 2300 support- macroize access to request queue in/out pointers.
Firmware crashes now handled in platform outer code via an isp_async call.
If we get a LIP, and we're on a private or public loop, kill off all
active commands as if they had been killed by a 'SCSI Bus Reset'. I've
seen data corruption on commands that complete 'normally' after a LIP.
Bad.
2001-07-06 16:15:38 +00:00
mjacob
48e09f672e
twiddle isp_xflist calculation to match more closes isp_pci.c
2001-07-06 16:09:38 +00:00
perry
dedadee3db
"safe" the macros for bcopy bzero and bcmp, after a request from mrg
2001-07-06 15:59:23 +00:00
jdolecek
fc4f1858f0
update
2001-07-06 12:38:40 +00:00
lukem
dafe2b38ba
freebsd kqueue implementation
2001-07-06 08:01:32 +00:00
chs
e185109424
implement pmap_k{enter_pa,remove}() correctly.
...
other misc cleanup.
2001-07-06 05:57:13 +00:00
chs
c844daf5ab
use pmap_k* for pagemove().
...
call pmap_remove() explicitly in vunmapbuf() in preparation for
upcoming UVM changes.
2001-07-06 05:53:35 +00:00
itojun
c3740d7821
IP6_EXTHDR_GET0 had no check against m->m_len (noone was using this macro).
...
sync with kame
2001-07-05 23:41:07 +00:00
tv
cc1cf30d01
bcopy() is documented as allowing overlapping memory regions. Define it
...
in terms of the standard name memmove() to account for this.
Fixes kern/13369 and the redundant lib/13370.
2001-07-05 21:51:10 +00:00
thorpej
583274a82c
For product names that include the media in the name, don't bother
...
saying "Gigabit".
2001-07-05 21:27:31 +00:00
hubertf
9f773decdf
fix typo in comment
2001-07-05 20:54:28 +00:00
thorpej
fd1fd6bb0f
If using the hardware cursor, make sure the cursor shape is initialized,
...
otherwise we won't be able to see anything if the system firmware has
either not initialized it, or initialized it to "invlisible".
2001-07-05 16:45:23 +00:00
thorpej
a06fbc7e4c
If the target failed to respond to selection, use XS_SELTIMEOUT,
...
not XS_DRIVER_STUFFUP.
2001-07-05 16:02:21 +00:00
thorpej
5c0f65ea82
Do a little manual CSE, taking unneeded comparisons out of loops,
...
and shrinking the object code somewhat. On an R4400:
Before:
text data bss dec hex filename
16248 16 0 16264 3f88 dp83932.o
Before:
text data bss dec hex filename
14424 16 0 14440 3868 dp83932.o
2001-07-05 15:02:27 +00:00
soda
afdb63beb4
a typo in comment.
2001-07-05 14:44:29 +00:00
thorpej
833e756e1e
JAZZ front-end for the new MI SONIC driver.
2001-07-05 14:42:35 +00:00
thorpej
b7ea2efc25
A new DP83932 ``SONIC'' driver, which uses bus_dma(9) and does I/O
...
directly to mbufs. Handles both 32-bit and 16-bit, big- and little-
endian configurations of the chip (we could squeeze out some conditionals
yet, though).
2001-07-05 14:37:41 +00:00
toshii
4866f1a22b
Fix typo. s/extention/extension/
2001-07-05 08:38:24 +00:00
kanaoka
678e078f04
Add support for "Laneed LD-10/100CDA".
2001-07-05 08:03:45 +00:00
chs
30e0b596c7
implement pmap_k{enter_pa,remove}() correctly.
...
other cleanup in preparation for upcoming UVM changes.
2001-07-05 07:05:02 +00:00
eeh
707046cec7
New block bzero and bcopy.
2001-07-05 06:37:58 +00:00
eeh
96ee348323
New fpu handling code.
2001-07-05 06:34:56 +00:00
thorpej
a1054ae7c6
D'oh, use the right bitbang ops for the DL10022, pointed out by
...
Masanori Kanaoka <kanaoka@ann.hi-ho.ne.jp>.
2001-07-05 05:36:02 +00:00
thorpej
a2985ca976
Fix variable names in the strict-alignment case.
2001-07-05 05:28:29 +00:00
itojun
1e8074db2e
sort boot flag to alphabetical order. add -c.
2001-07-05 00:58:45 +00:00
thorpej
d79f9adc90
Add another Lava serial board.
2001-07-04 22:39:11 +00:00
chs
7ebc99879b
don't set PG_RDONLY on the lower layer's pages,
...
the lower layer needs to have control over that flag.
that didn't solve the whole problem that it was trying to solve anyway.
(the issue is that if we have create mappings to the lower layer,
we need to get rid of those when we copy the file to the upper layer.)
we'll have to figure out some other way to handle this.
2001-07-04 21:38:00 +00:00
chs
c31ab668df
in ext2fs_balloc_range(), clear PG_RDONLY on pages which now have backing store.
2001-07-04 21:16:01 +00:00
chs
2a7b0d97d6
in ufs_balloc_range(), clear PG_RDONLY on pages which now have backing store.
...
fixes PR 13353.
2001-07-04 21:08:48 +00:00
wiz
e7313e53ae
Fix typo in comment.
2001-07-04 20:34:03 +00:00
uch
18d4a16bc4
#ifdef notyet power on/off sequence code. it doesn't work.
2001-07-04 18:08:01 +00:00
bjh21
3452c0d0a3
Add PowerROM support to asc(4), csa(4), csc(4) and ptsc(4). Not tested much,
...
I'm afraid.
2001-07-04 17:54:18 +00:00
augustss
45ece248c0
Add an Abocom adapter.
2001-07-04 16:38:09 +00:00
augustss
17231dcaee
Regen.
2001-07-04 16:37:47 +00:00
augustss
d9fb01804c
Add an Abocom adapter.
2001-07-04 16:37:26 +00:00
bjh21
1e0b1b7373
*sigh* and return 0 if we don't match the podule.
...
Need more coffee...
2001-07-04 16:36:52 +00:00
bjh21
bd4a0aae1b
Remember to include <dev/podulebus/powerromreg.h>.
2001-07-04 16:35:20 +00:00
bouyer
1c51ff8336
Better fix for rev 1.94 (disable UDMA for SiS controllers with rev 0xd0):
...
Different chipsets have the same vendor/device/rev ID for the IDE controller,
but only one of them is buggy. So check dev/rev ID of the function 0
(pchb on the buggy one) of the same device to detect the buggy controller.
2001-07-04 16:26:17 +00:00
augustss
020d906c3a
Null a pointer on error return.
2001-07-04 16:23:40 +00:00
bjh21
e02efcb8cc
Add support for Oak and HCCS SCSI cards fitted with PowerROMs. Since this
...
depends on podloader support, it won't work on arm32 yet.
2001-07-04 15:01:08 +00:00
bjh21
fd74cdde9d
Remove mistaken commit of "ethsc" reference.
2001-07-04 14:33:43 +00:00
ad
86e7fe72a4
Don't print the module description, since it doesn't mean much.
2001-07-04 14:17:58 +00:00
bjh21
3b7905c66f
podulebus and podloader are now MI.
2001-07-04 13:58:45 +00:00
bjh21
b8a09ee766
Add dummy "podloader" functions on arm32, and move their declarations to the MI
...
header file. This should allow MI drivers to use the podloader functions,
though obviously they'll have to be able to cope if podulebus_initloader()
fails.
2001-07-04 13:58:04 +00:00
bjh21
0be64cc691
Move "podulebus" and "podloader" declarations up into files.podulebus.
2001-07-04 13:49:24 +00:00
bjh21
67ace1b581
Gratuitously make podulebusprint() more standard. It now says:
...
ea0 at podulebus0 slot 2: address 00:02:07:dd:ee:16, 16-bit, SEEQ 8005
eb0 at podulebus0 [ netslot 0 ]: address 00:00:a4:54:42:cb, 16-bit, SEEQ 80C04
Netslots will be dealt with later (I didn't like the idea of just printing
"slot 8").
2001-07-04 13:38:36 +00:00
jdolecek
6d63e5d890
g/c WE_FLAGS_*, use DP8390_FORCE_{8|16}BIT_MODE instead WE_FLAGS_*
...
counterpart. Fixes kern/7295 by Martin Husemann.
2001-07-04 11:14:10 +00:00
jdolecek
d3dad41a97
Add -DINET6 to CPPFLAGS, so that the check for pre-RFC2553 sockaddr_in6
...
is included.
Remove uipc_syscalls_43.c from (commented out) list, it's no longer needed.
2001-07-04 10:29:16 +00:00
jdolecek
17a1c4c337
Regen - modify to use linux_* wrappers for syscalls passing/fetching sockaddr
2001-07-04 10:26:28 +00:00
jdolecek
3ba502f406
modify to use linux_* wrappers for syscalls passing/fetching sockaddr
2001-07-04 10:25:32 +00:00
jdolecek
978d4eb77b
remove no longer used variable
...
make 'osa' arg of linux_sa_get() const
2001-07-04 10:24:18 +00:00
jdolecek
8cbefdbb89
Do address family (AF_*) number translation for socket system calls which
...
pass socket address in our or out. This makes Linux programs using IPv6
working under emulation. This addresses kern/13279 by Jun-ichiro itojun Hagino.
Change sendmsg()/recvmsg() to expect the control information
to be passed the standard way (not 4.3BSD one, imlied by compat_43 code
or MSG_COMPAT). Linux uses different (arguably broken) CMSG_ALIGN() on some
architectures unfortunately, that would need to be handled eventually.
Also provide some other trivial stubs (like linux_sys_send()) to avoid
unneeded dependance on uipc_syscalls_43.c.
2001-07-04 10:09:24 +00:00
eeh
76159ce4fe
Replace old bcopy with a much faster version.
2001-07-04 05:57:39 +00:00
itojun
0fec95079e
better support for multiple IPv4 addresses on a single interface.
...
- consider non-primary (2nd and beyond) IPv4 address as "local", and prevent
outgoing ARP.
- for routing entries generated by ARP, make sure to set rt->rt_ifa equal to
rt_key, to help IPv4 source address selection for traffic to myself.
PR 13311.
caveats/TODOs:
- interface routes ("connected routes" in cisco terminlogy) is tied with the
primary (1st) IPv4 address on the interface. should be fixed with updates
to rt_ifinit().
- source address selection for offlink locations. 1st address tend to be used
with the current code
(you can configure it right by setting rt->rt_ifa accordingly).
2001-07-04 02:29:58 +00:00
bjh21
204fa6d2ef
The only use of poduleirqhandler() was commented out, so remove it to
...
avoid confusion.
2001-07-03 20:47:23 +00:00
uch
fd5708022c
recompile (by VC6)
2001-07-03 20:40:07 +00:00
uch
d9d3df290a
reserve correct size of kernel symbol table.
2001-07-03 20:38:03 +00:00
scw
6d598bac6d
Another instance of the MD siop driver which slipped the net...
2001-07-03 17:36:01 +00:00
chs
2f9d61f48e
vm_offset_t -> [pv]addr_t.
2001-07-03 14:40:41 +00:00
itojun
7925bc6220
properl y check DES weak key. KAME PR 363
2001-07-03 14:29:45 +00:00
nathanw
c45675aa2b
The machine check error code is reliably located at an offset of 0x10
...
in the logout frame. Print it for all fatal machine checks on all
models.
2001-07-03 13:55:42 +00:00
soda
cca727ab8c
forgot to remove this, when arc/include/pci_machdep.h was added.
...
pointed out by Izumi TSUTSUI.
2001-07-03 11:26:50 +00:00
itojun
d5b4c4a05d
remove a #ifdef __OpenBSD__ segment.
2001-07-03 08:06:40 +00:00
itojun
193167b1eb
call in{,6}_pcbpurgeif0() before in{,6}_purgeif().
2001-07-03 08:06:19 +00:00
chs
640937fe85
change pmap_extract() to deal with unmapped addresses.
...
remove some unnecessary checks for unmanaged pages.
2001-07-03 07:34:27 +00:00
chs
dcd6ab5a24
add coda_{get,put}pages so that mmap works.
2001-07-03 06:46:52 +00:00
chs
1e3003dad7
vm_offset_t -> [pv]addr_t.
...
implement pmap_k{enter_pa,remove}() correctly.
general cleanup.
2001-07-03 06:15:16 +00:00
chs
a2dade9e8e
move parts that are the same from vmparam3{,x}.h to vmparam.h.
2001-07-03 05:17:12 +00:00
enami
8b9f679d56
Adapt with recent md_root.c change; now you can put a root filesystem image
...
into separate file if boot loader allows.
2001-07-03 02:37:06 +00:00
bjh21
c6c9e5d915
Act as an entropy source for rnd(4).
2001-07-02 23:49:17 +00:00
bjh21
659b8ab115
Separate out netslot-specific code into its own file, so that one day we can
...
make it optional.
2001-07-02 23:18:34 +00:00