Commit Graph

33969 Commits

Author SHA1 Message Date
ad 7cc038239e More variable naming pedantry. 1999-12-23 15:42:06 +00:00
ad 977ce29db3 Rectify the jumbled naming scheme of routines in lk201.c. Function names
are now lower case and prefixed by 'lk_'. XXX lk_mouseinit() is bogus. It
belongs somewhere else.
1999-12-23 15:34:17 +00:00
ad e05b646600 mouseInput() should not be declared here. 1999-12-23 15:27:14 +00:00
tron 68aee765d1 Revert symbol definition check. 1999-12-23 15:23:52 +00:00
tron ff2d10d6a3 Don't try to include "null.h" while compiling bootblocks. 1999-12-23 14:07:36 +00:00
tsubai 3a04d046b7 Fix typo. 1999-12-23 11:45:32 +00:00
kleink 11e6c54cfc C99: Define a NAN macro in <math.h> which evaulates to a constant expression of
a single-precision quiet NaN; only to be defined on platforms that do support
this value.
1999-12-23 10:15:05 +00:00
kleink eff3e8d84e Oops, I didn't mean to remove <sys/inttypes.h> in the previous revision. 1999-12-23 09:10:18 +00:00
tsubai a2928f3d68 Remove 2 more unnecessary debugging codes. 1999-12-23 07:06:44 +00:00
tsubai 9909053174 * Apply updates from Shimizu-san received after the initial commit.
* G/C unused.
* Many cosmetic changes.
* etc...
1999-12-23 06:52:30 +00:00
takemura 98a2a24647 New button handler and power controller with configurable hooking mechanism. 1999-12-23 06:26:08 +00:00
tsubai dd30883b03 Comment out -DBOOT_DEBUG. 1999-12-23 01:41:11 +00:00
tsubai 8a56c134db Delete lines that I didn't intended to commit. 1999-12-23 01:40:06 +00:00
wrstuden ba7b2b4124 Make the bitfields in here work on big-endian machines. How this ever
worked is unclear.

Patch from thorpej, tested by me.
1999-12-23 00:15:12 +00:00
augustss 0e7b1b9ec1 Use the flags `locator' to govern if devices are detected early or
late during cold boot.
1999-12-22 23:54:09 +00:00
simonb 89b100b1a2 Get 2100/3100 model number correct (test was reversed). Bug report and
patch from Scott G. Akmentins-Taylor on port-pmax.
1999-12-22 22:10:07 +00:00
kleink c07f17e8d9 For the benefit of G++'s null pointer constant implementation, #define NULL
as __null with egcs 1.0 (GCC 2.90) and above.  As several headers are affected
by this change, move the definition into a new header file, <null.h>, to ease
maintenance.
1999-12-22 21:26:15 +00:00
thorpej 7ec3575193 Update for BAT{U,L}() changes. 1999-12-22 18:57:47 +00:00
thorpej db1042f3bc Update some comments. 1999-12-22 18:57:12 +00:00
pk 7ab5ad7988 Streamline media code a bit by some `pseudo-mii' code designed to handle
the on-board transceiver.
1999-12-22 16:05:12 +00:00
uch 508a4e8fd6 Implement TX3912/22 clock/timer module. 1999-12-22 15:35:33 +00:00
tsubai 1bc5465424 Remove unnecessary debugging code. (not intended to commit) 1999-12-22 08:16:45 +00:00
tsubai 70289b0f99 First cut of news5000 support.
Mostly from SHIMIZU Ryo <dejiko@di.gi.charat.org>.
1999-12-22 05:55:24 +00:00
tsubai c594e4d0a3 news5000 support. 1999-12-22 05:54:41 +00:00
tsubai ea69e534d2 * news5000 support.
* mips3_VCE[DI] now support L2CacheLSize != 32.
1999-12-22 05:54:18 +00:00
tsubai efaa549162 First cut of news5000 support.
Mostly from SHIMIZU Ryo <dejiko@di.gi.charat.org>.
1999-12-22 05:53:21 +00:00
jun 2db6d32929 FIX:
port-mips/9016 [serious/medium]:
        MIPS FPU emulator points wrong epc on exception case

	Responsible:    port-mips-maintainer (NetBSD/mips Portmasters)
	State:          open
	Class:          sw-bug
	Originator:     Shuichiro URATA
	Release:        current 12/11/1999
	Arrival-Date:   Fri Dec 17 10:18:00 1999
commit patch
     http://www.a-r.org/~ur/softfloat1211.diff.gz
     by Shuichiro URATA (ur@a-r.org)
1999-12-22 04:54:14 +00:00
itojun dc0f1c0435 drop IPv6 packets with v4 mapped address on src/dst. they are illegal
and may be used to fool IPv6 implementations (by using ::ffff:127.0.0.1 as
source you may be able to pretend the packet is from local node)
1999-12-22 04:03:01 +00:00
itojun a51908ee11 fix compilation on sun3x.
From: Izumi Tsutsui <tsutsui@ceres.dti.ne.jp>
1999-12-22 03:58:12 +00:00
msaitoh 8427734872 move sysctl definitions into ${MACHINE}/include/cpu.h 1999-12-21 22:19:16 +00:00
msaitoh 1e7bb23911 add some register definitions 1999-12-21 22:06:04 +00:00
msaitoh 5517154d15 check _STANDALONE 1999-12-21 21:48:19 +00:00
msaitoh 67f8a5ca5b fix the usage of .align 2 1999-12-21 21:41:56 +00:00
pk f037f3be7e Shuffle some code around to allow two PHYs to attach. Only one PHY can
be used at a time, but it's now possible to select one by using ifconfig(8)'s
`instance' parameter.
1999-12-21 21:07:42 +00:00
frueauf 60332c17b5 As per Chris G. Demetriou <cgd@netbsd.org> don't install
loadfile_machdep.h into /usr/include/hp300/, instead create a
link for machine and hp300 in ${.OBJDIR} like
sys/arch/alpha/stand/Makefile.buildboot does for alpha.
1999-12-21 21:06:26 +00:00
msaitoh 79f94c37ab G.C. 1999-12-21 18:21:53 +00:00
msaitoh 4f62c264c8 ".align 2" for mova instruction 1999-12-21 17:46:54 +00:00
drochner a4cab38506 add rcsid + copyright
one more include file
1999-12-21 16:06:31 +00:00
drochner 5d8a0c0ddd add a function which prints out the memory descriptors (for debugging) 1999-12-21 14:22:54 +00:00
drochner b7b6c4bb4f machdep.c is becoming an unmaintainable mess
put console initialisation into a separate file
1999-12-21 12:34:11 +00:00
drochner caaf1beab2 change decoding function to return multiple symbols per keypress
(through the "internal" structure), derive a METAESC flag from the
layout variant and translate ALT-<key> into ESC <key> if the flag is set
1999-12-21 12:02:04 +00:00
drochner 54e8bcd294 add a symbol for keyboard variant bits which are not handled by the
mapping code
1999-12-21 11:59:13 +00:00
drochner fc4003355e introduce a METAESC keyboard variant bit 1999-12-21 11:57:59 +00:00
drochner b95651b752 set carrier early if used as console or kgdb line, fixes PR kern/6547
by Andreas Gustafsson, gson@iengines.com
1999-12-21 11:04:36 +00:00
pk 03c8221ad0 Use BMSR to test for `negotiation complete'; the alternative bit in the
LXT vendor register 20 is latching high and resets to low on read causing
subsequent status request to return `IFM_NONE'.
1999-12-21 10:47:00 +00:00
tsutsui 386f0ea7b6 Typo. 1999-12-21 08:37:36 +00:00
pk bbbbfe896e * Remove spurious blockade in the path to get the transceiver status word.
* Make sure to flip the 10baseT/100baseTX bit when doing autoselect.
* Miscellaneous cosmetics.
1999-12-20 22:23:39 +00:00
pk d135edf1a7 #define the bit positions of the MIF I/O lines. 1999-12-20 22:19:11 +00:00
fvdl 655a7bf795 Always unlock the "fnode", even if we're about to free it, to keep
lock counts consistent. DIAGNOSTIC checks will barf otherwise.

XXX ntfs_ntput should not free the node, the reclaim vop should do it
XXX why does the ntfs code do its own internal locking?
1999-12-20 22:11:57 +00:00
frueauf 8870b49ed5 Add loadfile_machdep.h to includes to be installed - this makes
sys/arch/hp300/stand/* compile again.
1999-12-20 20:45:56 +00:00
frueauf 176df8913d Make this compile again:
NEWIP6OUTPUT gets no longer defined, revers logic to use OLDIP6OUTPUT.
1999-12-20 20:27:14 +00:00
jdc c8b93382ef Added envsys.h 1999-12-20 09:49:51 +00:00
jdc 016b030623 Added tctrl.h 1999-12-20 09:49:20 +00:00
haya 35a9d47da9 Maintanance for Ricoh RL5C475. VAIO 505TX uses this chip. 1999-12-20 08:11:42 +00:00
itojun ea516ae96d based on recent discussion on ipngwg, use XNET definition for
sockaddr_storage.  next revision of RFC2553 will be using this.

ss_len and ss_family are now available for userland programmers.
1999-12-20 06:18:45 +00:00
itojun 8bd9534970 avoid shared cluster mbuf overwrite on multicast packet loopback.
(bsdi and freebsd fixed this a long time ago...)

PR: 9020
From: pavlin@catarina.usc.edu
1999-12-20 05:46:33 +00:00
mjacob 67944140cf oops, got the initiator and initiator/target f/w reversed for the 1080 1999-12-20 04:25:56 +00:00
tsutsui 2f3ba68db9 Add more SCR_BO(). NCR53c875 now works on macppc.
XXX All SCR_BO() macros should be replaced with htole32() or le32toh().
1999-12-20 03:37:06 +00:00
augustss a1352b2625 Make sure tsleep() is not called during cold boot. 1999-12-20 02:12:23 +00:00
scottr 1c5a093819 Make this compile without bpf. Problem noted by Bob Nestor, fix from
Frederick Bruckman.
1999-12-20 01:06:40 +00:00
mjacob 5babd2b8c9 get back to looking at config flags 1999-12-20 00:49:58 +00:00
mjacob 955d4bb00b clean up some f/w revision stuff. clean up some dualbus stuff. 1999-12-20 00:39:16 +00:00
mjacob 83931d33df clean unused fwrev stuff 1999-12-20 00:38:21 +00:00
mjacob 8f18ef5b45 restore (by request) CFGPRINTF to DIAGNOSTIC level kernels 1999-12-20 00:37:49 +00:00
mjacob be6fe10ee6 get back to looking at config flags 1999-12-20 00:33:17 +00:00
mjacob 775b699ee1 add in initiator mode only f/w versions 1999-12-20 00:22:56 +00:00
augustss 33f8460f90 Change the way the initial configuration value is picked.
Idea from Matthias Drochner <M.Drochner@fz-juelich.de>
1999-12-18 23:22:54 +00:00
augustss 33cf622176 Add another debug printf. 1999-12-18 22:51:58 +00:00
augustss e284dc9cfd Make these files compile on 64 bit archs. 1999-12-18 22:47:11 +00:00
pk 85a78db7b1 Add support for selecting a PHY (i.e. built-in transceiver vs. external MII
device) by using media/instance parameters.
1999-12-18 14:05:37 +00:00
tsubai 3b2d2cffe1 Introduce bootinfo. 1999-12-18 08:01:25 +00:00
tsutsui 7374a44f77 Use bswap32() as SCR_BO() macro to avoid unexpected side effects.
SCR_BO(*src++) caused some trouble.
1999-12-18 07:57:03 +00:00
tsubai 4d08b56ebd Use hb_intr_establish(). 1999-12-18 06:54:05 +00:00
tsubai 3488febf81 Move dma_intr() to here. 1999-12-18 05:00:56 +00:00
thorpej a7f264fd2f Update for BATU()/BATL() changes. 1999-12-18 01:37:00 +00:00
thorpej 8fc6795a77 - Comment the BAT bits.
- Add defintions for the PowerPC 601 BATs.
- Change the BATU()/BATL() macros to be a bit more flexible; allow size,
  permissions, etc. to be specified.
1999-12-18 01:36:06 +00:00
thorpej 05684a14e6 Comment the MSR bits, and note which ones are not present on the PowerPC 601. 1999-12-18 01:34:15 +00:00
thorpej 0352041467 Hardware Implementation Dependent registers for the PowerPC 601. 1999-12-18 01:33:45 +00:00
drochner 5257d9712e regen 1999-12-17 17:19:11 +00:00
drochner 289c969284 add Intel 450NX stuff 1999-12-17 17:18:48 +00:00
pk 60eeab910b Avoid feeding negative values to the `roundup()' macro.
Configure the MII management interface earlier.
1999-12-17 14:37:15 +00:00
pk aaffba693c Fix status bit symbols strings.
Rename MII receives enable bit to be in sync with the STP2002 datasheet.
1999-12-17 14:34:25 +00:00
augustss b58b4d7541 Regen. 1999-12-17 14:07:45 +00:00
augustss 593f478d64 Add a 3Com camera. 1999-12-17 14:07:21 +00:00
augustss 6b1620b095 Remove extra #endif so we can compile again. 1999-12-17 14:06:43 +00:00
augustss b7b9264da6 Regen. 1999-12-17 14:00:12 +00:00
augustss 78ba345df3 Change the Galileo entries so the generated code can be compiled. 1999-12-17 13:59:44 +00:00
fvdl 8b98cf56b6 Deal with cable problems gracefully. From Onno van der Linden. 1999-12-17 08:26:31 +00:00
msaitoh 45cbcdba34 round textsize only if the binary is demand-pagable
(for backward compatibility)
1999-12-17 08:25:35 +00:00
jeremy a1c67d1d61 Renamed a temporary variable in pmap_enter() that conflicted with the
name of the new 'flags' argument, added as part of the new pmap_enter() API.
Added a comment which explains why there are still sun3x-specific flags
being passed in the unused bits of the physical address, and how these flags
are independent of the new 'flags' argument.
1999-12-17 08:10:59 +00:00
tsubai 4990e1cf94 Move common objects and libraries to common/. 1999-12-17 07:40:09 +00:00
tsubai 03ff4cb4df Moved to common/romcalls.S,v 1999-12-17 07:33:21 +00:00
tsubai 0271e4c36a Moved from bootxx/romcalls.S,v 1999-12-17 07:33:20 +00:00
jeremy d6a3f7a016 Added inet_addr.c to the list of required modules from the kernel stand
library.
1999-12-17 07:28:01 +00:00
thorpej 6926d0d4b1 Hand-tuned pmap_zero_page(). 1999-12-17 07:24:05 +00:00
tsubai be68900e77 Add interrupt level locator and use it instead of hard-coding. 1999-12-17 06:05:37 +00:00
tsubai 5577683a2b s/-G0/-G 0/ 1999-12-17 03:24:33 +00:00
tsubai 9df2e626d6 Use hb_intr_establish(). 1999-12-17 03:21:10 +00:00
tsubai 8a2b8d9a8b Implement hb_intr_establish(). 1999-12-17 03:06:13 +00:00
ad 3fc9d6b40e Indicate that rcons is a dead end and that doing something more wsconsish is
recommended.
1999-12-17 01:41:52 +00:00