Commit Graph

65704 Commits

Author SHA1 Message Date
Robert Drehmel
fc06896610 Add a Makefile for the sparc64 boot loader. 2001-10-15 10:36:35 +00:00
Robert Drehmel
d729d0aa31 Do not include openfirm.h; it is now included by libofw.h. 2001-10-15 09:52:38 +00:00
Robert Drehmel
66631c00de - Use the cell_t type definition for Open Firmware arguments in
combination with requisite casts as this avoids fatal side
   effects on 64-bit architectures.
 - Add the OF_alloc_phys function.
2001-10-15 09:51:09 +00:00
Ruslan Ermilov
6695313820 Don't even attempt to clone host routes.
MFC after:	1 week
2001-10-15 09:46:48 +00:00
Robert Drehmel
1da9b140b7 - Fill dummy functions with code to read from disk using Open
Firmware.
 - Add a temporary disklabel header to boot off a NetBSD/sparc64
   partition.  This file can be deleted when we have got a FCode
   bootblock.

The disklabel header was obtained from NetBSD.
2001-10-15 09:35:40 +00:00
Robert Drehmel
7ff1bab73b - Include openfirm.h for phandle_t.
- Add some necessary members to the ofwdisk structure.
 - Add a prototype for ofw_parseofwdev.
2001-10-15 09:28:07 +00:00
Robert Drehmel
cdfc68815b Add a function for parsing an Open Firmware boot path into the
ofw_devdesc structure.
2001-10-15 09:25:30 +00:00
Robert Drehmel
8716f26121 - Add an ifdef guard.
- Use unsigned types for the (32-bit) Open Firmware device handles
   to avoid sign extension on 64-bit architectures.
 - Add a standard type definition for Open Firmware arguments.
2001-10-15 09:02:03 +00:00
Marcel Moolenaar
dea969f79f When compiling with SKI support, create the fake memory regions
when either the memory descriptor in the bootinfo is NULL or
the descriptor count is 0.
2001-10-15 07:58:27 +00:00
Peter Wemm
febd72f843 Add EFI GPT (238, 0xEE) and EFI System Parition (239, 0xEF) 2001-10-15 07:25:29 +00:00
Peter Wemm
a528d3185a Add 0xEE (EFI GPT) and 0xEF (EFI System Partition) 2001-10-15 07:21:32 +00:00
Matt Jacob
819e7ffdf3 Whack on this soon to be deprecated driver.
What the heck, the OpenBSD version will benefit.

1. Add wx_txint_delay as a tunable (defaults to 5000 now, or ~5ms) and switch
to using delayed TXDW interrupts. Since the chip continues to reload the
TIDV with this value for each descriptor written back, this allows continued
deferral of the actual interrupt until the last packet completes (assuming
that 5ms between multiple packets transmitting is reasonable).

2. Add two other SYSCTL entities:

hw.wx.dump_stats
hw.wx.clear_stats

to be used, hackey hackey, to get the watchdog routine to dump/clear
the current softc statistics.

Usage would be:

	sysctl -w hw.wx.dump_stats=UNIT

to cause the current stats to be dumped for UNIT.

3. Attempt to clean up wx_detach routine so we don't panic. Well, things
still panic, but given that the code is just like other NIC drivers,
I suspect it's actually something elsewhere, like e1000phy, that's actually
blowing up.

4. Skip the entire test for runt packets- after doing somet thinking
and experimenting, I believe that the chip only doesn't like it if
the whole frame to xmit is < 16 bytes- each TFD can be some fragment
of that. This should improve performance a chunk because of all of the
(14 byte ETHERHEADER + DATA) mbuf chains.

5. Keep track of total frame length. Try not to xmit an odd byte frame-
this is supposed to get around some dumb Cisco switch problems.

6. On the last packet, also set Interrupt Delay && Report Packet Sent
(see #1 above)

7. Attempt to do xmit garbage collection *first* in order to avoid setting
IFF_OACTIVE if at all possible.

MFC after:	1 week
2001-10-15 06:59:41 +00:00
Bruce Evans
18ca70d12d Fixed style bugs in previous commit. 2001-10-15 04:29:06 +00:00
Scott Long
987de8a0d2 Add a manual page for the Maestro3 sound driver. This documents it's
special nature under the GPL and a boot hint that can affect operation.

MFC after:	3 days
2001-10-15 04:23:38 +00:00
David E. O'Brien
f6181588d5 We don't use the IA-64 psABI ELF_DYNAMIC_INTERPRETER, so remove it. 2001-10-15 03:10:48 +00:00
David E. O'Brien
3514d5d26c Add back DEC_EB64PLUS and DEC_AXPPCI_33 support as we've gained a little bit
more room on the install floppies now that modules can be on a 3rd floppy.
2001-10-15 02:50:18 +00:00
David E. O'Brien
3922b99c4c + Use ee' in lue of vi' as it is smaller.
+ Remove 'sleep' (not sure why it is so important in fix-it mode).
+ Remove ability to mount MSDOSFS as that is not a typical filesystem on an
  alpha; and thus does not really add to the fix-it mix.
+ Sync style with i386.
2001-10-15 02:49:15 +00:00
Scott Long
538e89e57b Forced commit to fix the Submitted by: line.
Submitted by:	ken, Randy Bush <randy@psg.com>
2001-10-15 02:18:57 +00:00
David E. O'Brien
d4c06e2f81 Clean this up. 2001-10-15 02:14:08 +00:00
David E. O'Brien
e1382dde0b Binutils 2.11.2 build framework for the FreeBSD/IA-64 target. 2001-10-15 02:13:26 +00:00
Scott Long
d36803e209 Add a quirk entry so that the Maxtor 3000LE USB drive will work.
Submitted by:	merry, Randy Bush <randy@psg.com>
MFC after:	3 days
2001-10-15 02:05:06 +00:00
David E. O'Brien
7a54260771 We don't support GDB for IA-64, PowerPC, or sparc64 yet. 2001-10-15 01:57:13 +00:00
David E. O'Brien
edb338ea02 We can easily share obj-format.h and targ-env.h files across all FreeBSD
platforms, which reduces the upgrade effort.
Also tidy up the Makefiles.
2001-10-15 01:43:23 +00:00
Greg Lehey
ff433237bd Reinstate VINUMDEBUG. Removing it also removes some diagnostic commands.
I should reconsider whether I just leave them in without #ifdef VINUMDEBUG.
2001-10-15 01:32:48 +00:00
David E. O'Brien
462c450905 More cleaning. 2001-10-15 01:18:51 +00:00
Mark Peek
585cf148b6 Fix typo. 2001-10-15 01:04:49 +00:00
Mark Peek
422ec2ace1 Save WIP. Partial rewrite of cpu_switch() and savectx(). This makes it closer
to working but still needs some work to properly switch the full context
(such as saving the fpu registers, switch stacks, etc.).  Also, remove some
dead code that was mixed in.
2001-10-15 00:37:45 +00:00
Dima Dorfman
cd4ca11ce8 Slightly improve wording in the opening paragraph.
PR:		31202
Submitted by:	Jasmin Blanchette <jasmin@troll.no>
2001-10-14 23:13:01 +00:00
Dima Dorfman
075908f115 Repair typo.
PR:		31262
Submitted by:	<swear@blarg.net>
2001-10-14 22:46:05 +00:00
Dima Dorfman
c49c01757a link(2) may fail with EPERM if name1 is immutable or append-only.
PR:		31025
Submitted by:	Tim Singletary <tsingle@vetinsite.com>
2001-10-14 22:40:19 +00:00
Tor Egge
c4c8394066 Repair normally unused is_digit() macro. 2001-10-14 21:11:33 +00:00
Tor Egge
10ad529832 Change vmapbuf() to use pmap_qenter() and vunmapbuf() to use pmap_qremove().
This significantly reduces the number of TLB shootdowns caused by
vmapbuf/vunmapbuf when performing many large reads from raw disk devices.

Reviewed by:	dillon
2001-10-14 21:09:04 +00:00
Tor Egge
2334091845 Reduce the number of TLB shootdowns caused by a call to pmap_qenter()
from number of pages mapped to 1.

Reviewed by:	dillon
2001-10-14 20:56:55 +00:00
Tor Egge
30105b9ec4 Don't remove all mappings of a swapped out process if the vm map contained
wired entries.  vm_fault_unwire() depends on the mapping being intact.

Reviewed by:	dillon
2001-10-14 20:51:14 +00:00
Tor Egge
e7673b8424 Fix locking violations during page wiring:
- vm map entries are not valid after the map has been unlocked.

 - An exclusive lock on the map is needed before calling
   vm_map_simplify_entry().

Fix cleanup after page wiring failure to unwire all pages that had been
successfully wired before the failure was detected.

Reviewed by:	dillon
2001-10-14 20:47:08 +00:00
Max Khon
322dcb8d3d bring in ARP support for variable length link level addresses
Reviewed by:	jdp
Approved by:	jdp
Obtained from:	NetBSD
MFC after:	6 weeks
2001-10-14 20:17:53 +00:00
Matt Jacob
ca8f579ceb Fix it so that it doesn't complain for compiles on alpha- that is, match
format string args to actual args.
2001-10-14 19:44:15 +00:00
Scott Long
73b9d66d9a Turn on the hardware volume buttons that are present on most laptops with
these chips.  There is a new hint, hint.pcm.N.hwvol_config, that can be set
to 1 or 0 to select which pins the buttons are connected to.  I'm open to
suggestions on where to document this.  Also bump the number of playback
channels up to 4.

MFC after:	3 days
2001-10-14 19:22:51 +00:00
Alfred Perlstein
bad584e319 Implement partial-file NFS lock testing.
Submitted by: "Andrew P. Lentvorski" <andrewl@io.com>
2001-10-14 18:36:35 +00:00
Doug Rabson
a387081c63 Make this compile on ia64. 2001-10-14 13:45:33 +00:00
Benno Rice
bdf71f568b Implement pmap_mapdev. 2001-10-14 08:38:16 +00:00
Benno Rice
7947a33926 Remove another unneeded instance of -elf. 2001-10-14 06:02:16 +00:00
Marcel Moolenaar
e30593bd41 Forced commit. There apparently was already a PR for the problem
fixed by the previous commit.

PR: 31122
2001-10-14 05:52:49 +00:00
Marcel Moolenaar
c640a5f5f2 When casting from uid16/gid16 to uid/gid respectively, make sure
that "no change" (ie 0xFFFF) is properly cast to (int)-1 for those
syscalls that set uids and/or gids.

Verified by: LTP
2001-10-14 03:56:53 +00:00
David E. O'Brien
7e605691b0 Adjust for the movement of `as' headers. 2001-10-14 02:15:58 +00:00
David E. O'Brien
b3119f80e8 You know the last revision will work better if the TARGET_TUPLE is set
conditionally....
2001-10-14 02:13:55 +00:00
David E. O'Brien
4ac9161617 Allow easier override of the configure tuple, in case you wanted to build
as "powerpc-obrien-freebsd" rahter than "powerpc-unknown-freebsd" for example.
2001-10-14 02:12:40 +00:00
David E. O'Brien
44fdcd56ee Need to look in additional places for BFD's config.h now. 2001-10-14 02:07:26 +00:00
David E. O'Brien
8f0d33af07 Clean up a little bit more. 2001-10-14 01:58:18 +00:00
David E. O'Brien
4ab605cf6d Clean up the formatting. 2001-10-14 01:57:19 +00:00