Commit Graph

102896 Commits

Author SHA1 Message Date
martin
e7aaaf890a Add support for various USB character devices.
From Takeshi Nakayama in PR 18450.
2002-09-28 19:49:34 +00:00
martin
cf4564afb0 Add entries for various USB character devices.
From Takeshi Nakayama in PR 18450.
2002-09-28 19:46:46 +00:00
thorpej
0720e04052 Remove a debugging printf. 2002-09-28 19:07:43 +00:00
tsutsui
a5638d54a0 Remove unused code in #if NetBSD <= 199712 part. 2002-09-28 18:55:19 +00:00
tsutsui
a05eb615fe Rename if_fereg.h -> if_fmvreg.h since now it has only
FMV-18x specific definitions.
2002-09-28 18:43:08 +00:00
scw
7a61cafd1e After the kernel is built, run it through objcopy to change the LMA
of the loadable sections to correspond to the physical address of
RAM in the Cayman. This is so sh5gdb uploads the image to the correct
place. (Should've done this ages ago instead of manually running a
script...)

This can be removed when I get a native bootloader written.
2002-09-28 18:35:38 +00:00
tsutsui
065fc336c2 Move AT1700/RE2000 EEPROM definitions from isa/if_fereg.h to ic/ate_subr.h.
XXX Maybe all stuff in ate_subr.* should be merged into ic/mb86960*.[ch].
2002-09-28 18:19:08 +00:00
tsutsui
4dc734d128 Remove unused FE_VERSION. 2002-09-28 18:02:21 +00:00
provos
a79af4d624 fix return value; from marius@umich.edu 2002-09-28 17:56:54 +00:00
tsutsui
073f0d7f8f Remove unused FE_MB86960_H_VERSION. 2002-09-28 17:52:59 +00:00
tsutsui
d73bf82699 Remove unused FE_VERSION and FE_REG_VERSION. 2002-09-28 17:22:49 +00:00
tsutsui
43367243b6 Remove unused code in #if NetBSD <= 199712 part. 2002-09-28 17:18:28 +00:00
tsutsui
a531ef1f17 Remove MBH10302 register definitions, which is also defined
in dev/ic/mb86960reg.h.
2002-09-28 17:09:20 +00:00
chris
ffffdcd9c7 Add footbridge_intr.h 2002-09-28 16:08:03 +00:00
chris
d20df65c58 Remove cats/byte_swap.h. 2002-09-28 16:02:54 +00:00
chris
cae76053ba Thought I'd checked this in a while back, cats does not need byte_swap.h.
That was me misunderstanding the build system.  (the Makefile change slipped
in as version 1.15)
2002-09-28 15:56:33 +00:00
chris
d0879e89ef cats and netwinder can share a common footbridge_intr.h file, so install and
share a common file.
2002-09-28 15:53:03 +00:00
thorpej
8f6cdec6af Make _C_LABEL() pay attention to __NO_LEADING_UNDERSCORES__. 2002-09-28 15:50:37 +00:00
chris
4c5586750b Enable the use of a seperate statclock.
Currently statclock runs at 64hz, maybe it should be faster or slower, I did
try it being the same as hz, but that just made it look like we spent 10% of
time handling interrupts, rather than the 3% that this gives.

Also fix the IPL_LEVELS for netwinder.
2002-09-28 15:44:29 +00:00
elric
75bc91b4e4 Changed documentation of the default setting for PermitRootLogin
to ``no'', to match our actual default setting.

Addresses PR: bin/18445
2002-09-28 15:07:33 +00:00
scw
d26f394149 Add audio(4). 2002-09-28 13:13:23 +00:00
scw
a7be636d26 Rename the SH5 PCI attachment to "sh5pci" instead of abusing the "pcibus"
config definition. The new config world order is more picky about such things.
2002-09-28 13:08:22 +00:00
scw
3e955d2331 PCI is pretty much done. 2002-09-28 13:06:49 +00:00
scw
94b4198ec9 Bump the scif console priority to CN_REMOTE for now. 2002-09-28 13:03:22 +00:00
wiz
826d3a8737 Clean up after recent changes.
Some notes:
\- is for minus signs only.
Closing braces and punctuation after a macro should definitly not be
on the next line, but at the end of the macro line, separated with spaces
from the macro argument and each other. Otherwise, unwanted whitespace
appears.
2002-09-28 12:59:49 +00:00
scw
f5138efc2e Fix things so the com(4) probe in consinit() works. 2002-09-28 12:50:27 +00:00
scw
5868dbcbf6 Make this work following the gehenna_devsw merge. 2002-09-28 12:49:17 +00:00
wiz
17cf386a88 Bump date for .Op Ar file addition. 2002-09-28 12:40:41 +00:00
grant
714cd00ddf bump date for latest changes. 2002-09-28 12:34:53 +00:00
scw
1c9cfe70b6 Const'ify the cfattach structure. 2002-09-28 11:18:01 +00:00
scw
251ba05b3f Support for the SH5 on-chip PCI bridge, and support for its deployment
in the Cayman board.
2002-09-28 11:16:36 +00:00
scw
171b08b4b9 Set the new process' FPSCR.DN bit so that denormalised FP numbers are
quietly flushed to zero before they're used.

While this isn't perfect, it seems to mimic the behaviour on i386 at least.
2002-09-28 11:11:01 +00:00
scw
3d776f64cf These hackish changes have been sitting around for a while. Commit
them so they don't get lost. This driver will be overhauled later
on anyway to make it shareable between sh[3-5].
2002-09-28 11:08:13 +00:00
scw
02787a17bc Wrap some expensive sanity checks in "ifdef PORTMASTER". 2002-09-28 11:04:26 +00:00
scw
4d809d551d The FP status register is 32-bits wide, so don't use register_t in
the various state frames.
2002-09-28 11:03:08 +00:00
scw
58931592a1 Honour BUS_DMA_COHERENT flag in bus_dmamem_map(), and g/c some dead code.
XXX: Still need to flesh out bus_dmamap_sync().
2002-09-28 10:57:44 +00:00
scw
05e55efada - Add pmap_page_is_cacheable() to allow the bus_dma code to query the
cacheable attribute of a mapping.
- Honour PMAP_NC in pmap_enter() using NOCACHE, instead of DEVICE.
- No longer need to re-fetch the ptel in pmap_pa_unmap_kva() as
  syncing the cache no longer risks causing a TLB miss.
2002-09-28 10:53:57 +00:00
wiz
11255a6d43 regen (+pci) 2002-09-28 10:52:11 +00:00
scw
902d684338 - Add BUS_SPACE_MAP_PREFETCHABLE
- Re-define bus_size_t and bus_addr_t to be u_int32_t.
  While this may well lose for future silicon with NEFFBITS > 32, the
  original u_long was a waste on current designs (especially for _LP64).
2002-09-28 10:49:10 +00:00
scw
e168d3e25c SH5's on-chip PCI bridge is attached as "pcibus", not "pchb". 2002-09-28 10:44:40 +00:00
scw
9c10dff0fb Print the intevt code in hex. 2002-09-28 10:43:36 +00:00
scw
e578ac6fc3 Slight tweak to the linker emulation name now that I'm using ld(1)
from binutils-current.

Bump compiler optimisation to -O1.
2002-09-28 10:42:54 +00:00
scw
d832585f39 Always save/restore the FP status register. 2002-09-28 10:38:55 +00:00
chris
c3354b9779 Interrupt 19 does actually do something:
19	PMCSR written by host
(all to do with power management)
2002-09-28 10:34:02 +00:00
scw
42ca361622 Preserve and restore the caller's FP status register, and ensure
it contains a sane value while we're doing FP ops.
2002-09-28 10:33:59 +00:00
wiz
204f44c565 Xref bmtphy, proposed by aymeric. 2002-09-28 10:33:30 +00:00
scw
b9ca9c375c Before declaring pci_conf_interrupt(), check to see if it's
already defined as a CPP macro, which is the case for SH5 at least.
2002-09-28 10:31:02 +00:00
scw
cbc5db835b Try a little harder to work around the "Isolated After Reset" lossage. 2002-09-28 10:27:21 +00:00
scw
ee37eef012 Add smc91cxx_copy_tx_frame(), based on the version in cs89x0.c, to deal
with misaligned mbufs.
2002-09-28 10:24:46 +00:00
chris
85fe6200b5 We have 9 IPL levels, not 8. 2002-09-28 10:23:26 +00:00