Commit Graph

33969 Commits

Author SHA1 Message Date
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
soren 3017275313 Regen. 1999-12-17 01:04:47 +00:00
soren fd4557865d Fix comment. 1999-12-17 01:04:29 +00:00
soren bf75bd8856 Regen. 1999-12-17 01:03:45 +00:00
soren fdab32f446 Add Galileo Technology system controllers.
Remove obsolete ID database URL.
1999-12-17 01:02:03 +00:00
garbled e89216c73c avoid uninterruptable sleep on a CMD_REQ ioctl. 1999-12-17 00:32:25 +00:00
abs 43838a47fd Add back cut Cardbus_conf_write/cardbus_conf_write lines. 1999-12-16 21:04:10 +00:00
thorpej 18ab712015 Provide cpu_boot_secondary_cpus(). 1999-12-16 20:24:58 +00:00
thorpej a07b7d60e2 Garbage-collect. 1999-12-16 20:20:11 +00:00
thorpej 81f44f09a5 - Remove a misguided attempt to use procs as idle contexts for secondary
processors.  Instead, allocate separate idle PCBs for them (including
  the primary -- don't use proc0's for its idle context).
- Use SysValue to store the cpu_info for each processor.
1999-12-16 20:17:22 +00:00
thorpej 51fcba3845 Explicitly set secondary processors in motion before calling uvm_scheduler(). 1999-12-16 19:59:17 +00:00
msaitoh e7924755fa - round_page(ep_tsize). This fixes a bug which cause panic in pmap_enter_pv().
- DPRINTF cleanup.
1999-12-16 16:50:08 +00:00
tron 885afa5fce Regen. 1999-12-16 15:13:41 +00:00
tron 764eda2f33 Add ptrace(2). 1999-12-16 15:13:01 +00:00
tron 62397f55ef Add support for reading and writing non FPU register with ptrace(2). 1999-12-16 15:11:19 +00:00
tron 4aec38a7db Move MI parts of ptrace(2) emulation to "linux_misc.c". 1999-12-16 15:09:49 +00:00
ad ea17a0d147 Remove part of a bogus comment and put it in a more appropiate spot. 1999-12-16 15:07:00 +00:00
ad 624ebb55cb Dispatch another nit. 1999-12-16 13:27:24 +00:00
shin 79adf0a66b display CPU clock at boot time(Ex. NEC VR4121 rev0.0 131.072MHz). 1999-12-16 13:09:02 +00:00
shin 9751951da4 add CPU pipeline clock calculation function for VR41xx.
display CPU clock at boot time(Ex. NEC VR4121 rev0.0 131.072MHz).
1999-12-16 12:10:02 +00:00
sato 30c02c0abe - support WSDISPLAYIO_GTYPE. (but currently return WSDISPLAY_TYPE_UNKNOWN.)
- support WSDISPLAYOP_GINFO. (but cmsize maybe not correct.. )
- not display kernel message when group 't' ioctl.
- support mmap()
1999-12-16 09:46:56 +00:00
sato b92082a557 - dump some pmu registers at attach. 1999-12-16 09:37:33 +00:00
sato 0941c3a3c9 - cleanup a little.. 1999-12-16 09:36:19 +00:00
mjacob edf809c8b6 Dual LVD (1280) support. 1999-12-16 05:35:42 +00:00
augustss fc03707eef Add even more debug output. 1999-12-15 23:00:05 +00:00
thorpej a5b316c4d5 Key off NSIO and NPCEB for (E)ISA interrupt support.
XXX Can probably nuke the SIO test; don't all of the Noritake-class systems
XXX have EISA?
1999-12-15 22:31:04 +00:00
thorpej 4f580f447c Key off NSIO and NPCEB for (E)ISA interrupt support.
XXX Can probably nuke the SIO test; don't all of the Mikasa-class systems
XXX have EISA?
1999-12-15 22:30:40 +00:00
thorpej 58a51e3b72 Key off NSIO and NPCEB for (E)ISA interrupt support.
XXX Can probably nuke the SIO test; don't all of the ALCOR-class systems
XXX have EISA?
1999-12-15 22:28:15 +00:00
thorpej c557690acc Key off NSIO and NPCEB for (E)ISA interrupt support.
XXX Can probably nuke the SIO test; don't all of the Rawhide-class systems
XXX have EISA?
1999-12-15 22:25:21 +00:00
thorpej 3ffe65b597 Use alpha_shared_intr_{get,set}_private(). 1999-12-15 22:21:45 +00:00
simonb a9beb4a817 Use 8-char tabstops and make this fit into 80 columns. 1999-12-15 20:34:35 +00:00
thorpej deed2b3b4b Fix a botch in stray interrupt reporting; report the kn300 IRQ, not the
interrupt enable bit on the MCPCIA the interrupt is mapped to.
1999-12-15 20:10:04 +00:00
augustss 0164856f79 More debug printfs. 1999-12-15 20:05:08 +00:00
ad 38fdaf4b34 Fix comment. 1999-12-15 15:34:18 +00:00
ad 9bfaff072d Now I remember. Add a new flag, WSFONT_RDONLY that indicates the font
to be added to the table should not be modified; i.e. if modifications
are needed, a copy should be made.
1999-12-15 15:27:57 +00:00
ad f607dfe4dd - Change prefix for Bt459 register defs to BT459_IREG to indicate that
these are indirectly accessed registers.
- Add defs for directly accessed registers to bt459reg.h.
1999-12-15 15:09:36 +00:00
ad f458e50bdf Since mfb.c is the only user of defCursor[], move it from fb.c into there
and remove the extern'ed declaration in xcfb.c.
1999-12-15 14:48:24 +00:00
ad 278cb41098 Clean up a little. 1999-12-15 14:44:59 +00:00
ad 8307818a9b Don't declare rcons_connect() - pull in <pmax/dev/rconsvar.h>. 1999-12-15 14:44:32 +00:00
ad 788d82a891 Clean up decl. 1999-12-15 14:36:41 +00:00
kleink 2fd74b0fb4 Normalize symbol names used for multiple inclusion protection. 1999-12-15 12:28:54 +00:00
kleink 5dc4b19d4d Report the Capability List support bit of the SR and, if set, print the
the Capability list pointer register as such as well as the capabilities
implemented in the list.
1999-12-15 12:27:26 +00:00
tsutsui b5084582c9 add one more htole32().
fixes "tlp0: filter setup timeout" on my macppc.
1999-12-15 12:23:32 +00:00
kleink 56060556e3 Report all AUDIO_PROP_* properties when attaching an audio device. 1999-12-15 12:09:34 +00:00
kleink 6a318fe223 Regen. 1999-12-15 11:55:35 +00:00
kleink eec28e9605 * Add ESS Maestro2 product ID.
* Add TerraTec vendor ID.
1999-12-15 11:52:55 +00:00
pk 967d744acd Correctly encode the configured number of buffer descriptors. 1999-12-15 10:33:31 +00:00
jdolecek f7f3de79e0 g/c redundant vn_isunder() prototype (it.s in <sys/vnode.h>)
minor KNF changes
1999-12-15 08:36:44 +00:00
garbled 8a6f913c08 Add header for ENVSYS API as proposed on tech-kern. Used currently by the
tadpole sparcbook.
1999-12-15 08:16:15 +00:00
garbled f02b80418b add <machine/tctrl.h> where needed.
Add some undocumented commands to the ts102 registers file, and fix a few
typos.

Modifications to tctrl.c:

Add entrypoints to driver for open/close/ioctl/poll.
Make device work with apmd. (still no support for suspend/sleep)
Make device work with ENVSYS API.
Slightly restructure handling of events.
Add function to make microcontroller requests.
1999-12-15 08:12:30 +00:00
garbled dd9ad672a9 add entrypoint for tctrl device, and add <machine/tctrl.h> to includes for
machdep.c
1999-12-15 08:03:43 +00:00
garbled 5e200de9b7 Add new spl level for tadpole devices splts102.
Device entrypoints for tctrl device (tadpole micro controller)
add header for direct-access ioctl to the tadpole microcontroller.
1999-12-15 08:01:00 +00:00
perseant 32bd59cdf6 Fix error returns on lfs vnops so that locks and reference counts are
preserved.  Handle dirop accounting in lfs_vfree for this case as well.
May address PR#8823.
1999-12-15 07:19:07 +00:00
perseant fa6a733240 In lfs_bwrite, don't mark buffers dirty if lfs is mounted read-only.
(Previously buffers could be marked dirty by the cleaner, and possibly by
other means.)

Also check for softdep mount in vfs_shutdown before trying to bawrite
buffers, since other filesystems don't need it and lfs doesn't bawrite.
(This fragment reviewed by fvdl.)

Partially addresses PR#8964.
1999-12-15 07:10:32 +00:00
itojun abddb5f851 do not overwrite traffic class field when we write IPv6 version field. 1999-12-15 06:28:43 +00:00
itojun 0d7c5dfc5a change mbuf trimming.
confirmed that ping -s 1480 (my ip addr) panics before, and works fine now.

possibly fixes PR: 8990
1999-12-15 06:16:05 +00:00
explorer 387644d34d regen 1999-12-15 05:49:44 +00:00
explorer 5e4e92603b add another modem; from Dan J Fraser 1999-12-15 05:49:33 +00:00
oster 28c2380f21 Nuke a bunch of debugging cruft. No functional changes. 1999-12-15 02:02:16 +00:00
pk 9902ec50bb * Probe the MII device.
* Ask for an interesting set of interrupt conditions.
* Correct various other typos and omissions.
1999-12-14 23:58:15 +00:00
pk ea69621efe Add a missing register offset. 1999-12-14 23:54:41 +00:00
thorpej 30df737885 Nuke unused btinfo_symtab field. 1999-12-14 22:39:14 +00:00
ad a8112faedb - Squash a few stylish nits.
- Move font flags to wsfont.h. There is a point to this. I'll remember soon.
1999-12-14 22:35:17 +00:00
ad 977e07ff58 Note that per-depth initialization functions shouldn't be called by mere
mortals.
1999-12-14 22:25:13 +00:00
ad 88ad70226e The ri_hw member was added to 'struct rasops_info'. This does the same thing
as ri_priv; since ri_priv is not used anywhere in the kernel, nuke it.
1999-12-14 22:20:28 +00:00
thorpej 617f5f4169 Add console type for APCI. 1999-12-14 21:48:48 +00:00
thorpej dd7c54248a Add a type field to btinfo_bootpath. 1999-12-14 21:42:34 +00:00
thorpej 2eaf013302 Optimize for space. 1999-12-14 21:38:31 +00:00
thorpej 1ad07ba016 Recode the kernel transfer point entirely in assembly to completely
avoid compiler surprises.
1999-12-14 20:57:44 +00:00
thorpej 344d11c5f4 Make it possible to strip this down a little more. 1999-12-14 20:55:27 +00:00
thorpej 58ffb9ba82 Include loadfile() (and a.out support for loadfile()) in libsa. 1999-12-14 20:54:04 +00:00
thorpej 25c48ec858 First cut at loadfile() support for the hp300 boot program. Doesn't
work yet (kernel fails before MMU can be enabled).
1999-12-14 20:52:58 +00:00
thorpej 3f9e459666 Make sure the compiler doens't reuse the registers we use to convey
information to the kernel.
1999-12-14 19:14:49 +00:00
thorpej 56b2a5174c Add a bootinfo facility, as is used on i386 and pmax, ports. We expect
the bootinfo to be located in the first page of kernel text (which has
been zero-filled for a Very Long Time to allow us to unmap KVA 0); the
boot loader will place it there after loading the kernel image.
1999-12-14 17:51:20 +00:00
thorpej a817ac2b7c Add COMPAT_LINUX, COMPAT_SVR4, EXEC_ELF32. 1999-12-14 17:46:05 +00:00
oster fe0726b921 Whoops! Neglected to initialize the buffer queues for anything other
than raid0.  Fix that...
1999-12-14 15:27:00 +00:00
dbj cf7de63ef3 add files needed to use KGDB as suggested by Christian Limpach <chris@Nice.CH> 1999-12-14 11:17:26 +00:00
sato 63a8704a00 - initialize vrdsu_softc sc_iot member in vrdsuattach(). 1999-12-14 04:21:10 +00:00
augustss d71ddb5075 Add Cirrus Logic CS4280 driver. 1999-12-13 20:22:53 +00:00
augustss 3c1b8138f7 Add a device driver for the Cirrus Logic CS4280 sound chip.
The code has been contributed by Tatoku Ogaito.
1999-12-13 20:19:23 +00:00
drochner d057216913 add parsing of the "32bit memory descriptor" tag type 1999-12-13 20:12:22 +00:00
wrstuden b93040c6f1 Modify ufs_rename() to a) be more careful about reference counts (we no longer
depend on the initial lookups being doen with SAVESTART), and b) check
return values for errors.

Should fix PR 8491 for ufs - two simultaneous identical renames will now
work correctly. One will succeed, one will fail.
1999-12-13 19:07:21 +00:00
itojun 1d77886f1a synchronize list of IPv6 TODOs with reality. 1999-12-13 17:15:18 +00:00
is 43aa150a4e Handle packets to 255.255.255.255 like multicast packets. Fixes PR 7682 by
Darren Reed.
1999-12-13 17:04:11 +00:00
drochner d9549f09b8 add EGA console support 1999-12-13 16:30:15 +00:00
drochner ca8e2a94ea First cut on an EGA driver. For initial testing, lacks some EGA vs CGA/MGA
identification. Can share more code with VGA later.
1999-12-13 16:28:57 +00:00
uch 46fb1c9fce initialize pciirq. 1999-12-13 15:42:05 +00:00
leo ef4d7a827f Change the copy_region function to shutup gcc's unused warnings in some
cases. Use the bus_space_tag without doing something useful... (idea from
Matthias Drochner).
1999-12-13 15:40:28 +00:00
itojun ea861f0183 sync IPv6 part with latest KAME tree. IPsec part is left unmodified
due to massive changes in KAME side.
- IPv6 output goes through nd6_output
- faith can capture IPv4 packets as well - you can run IPv4-to-IPv6 translator
  using heavily modified DNS servers
- per-interface statistics (required for IPv6 MIB)
- interface autoconfig is revisited
- udp input handling has a big change for mapped address support.
- introduce in4_cksum() for non-overwriting checksumming
- introduce m_pulldown()
- neighbor discovery cleanups/improvements
- netinet/in.h strictly conforms to RFC2553 (no extra defs visible to userland)
- IFA_STATS is fixed a bit (not tested)
- and more more more.

TODO:
- cleanup os-independency #ifdef
- avoid rcvif dual use (for IPsec) to help ifdetach

(sorry for jumbo commit, I can't separate this any more...)
1999-12-13 15:17:17 +00:00
drochner 106e6868db fix off-by-one error in font table initialisation
(mostly harmless because it is zero initialized in most cases anyway)
1999-12-13 14:04:06 +00:00
itohy d6f355c744 Fix symbol renaming on cc -traditional.
Fix PRs bin/5167 and lib/6310.
1999-12-13 08:25:16 +00:00
sato 254fb071e7 - Vr4102 does not have PMUWAIT_REG_W register, so comment it.
- Vr4121 only have PMUDIV_REG_W register, so comment it.
1999-12-13 06:53:01 +00:00
sato 93482f6705 - change some comments.
- vr4102 have not BCUCNT3_REG_W register, so comment it.
1999-12-13 03:11:36 +00:00
sommerfeld c86b5b3d08 Add new CPU feature flags (up through recent Pentium III and Celerons) 1999-12-13 01:31:30 +00:00
sommerfeld 8933230897 bitmask_snprintf: avoid returning too soon if we're using the
new-style format.
1999-12-13 01:29:03 +00:00
oster c8753ea619 Rework how we do the 'wakeup' when an IO completes. 1999-12-12 20:52:37 +00:00
oster 706e3c13c0 Rename rf_DoAccessKernel() to raidstart() and cleanup arguments. 1999-12-12 20:52:16 +00:00
oster e8a639b1df Rototill the IO throttle code. Rename rf_DoAccessKernel() to raidstart()
and cleanup arguments.  While we're here, cleanup raidstrategy(), and nuke
a bunch of unused debugging stuff.

RAIDframe + softdeps now play very nicely together.
1999-12-12 20:51:41 +00:00
ragge 713b50cde9 Avoid GCC complaints (under some circumstances). 1999-12-12 19:51:49 +00:00
uch 0ad989b87a remove unreferrenced header file. 1999-12-12 18:40:33 +00:00
tron 821c7a01f8 As suggested by Jason Thorpe back out revision 1.27 because it broke
PHY probing for the ThunderLan driver.
1999-12-12 17:55:21 +00:00