Commit Graph

128482 Commits

Author SHA1 Message Date
itojun b140dfa763 s/options\t\t/options \t/. (whether UMASS_DEBUG is appropriate for everyone's
GENERIC is a different issue.  i'm not sure)
2004-06-29 04:51:29 +00:00
itojun de1993c88e rc.d fragment for PF. Peter Postma 2004-06-29 04:48:28 +00:00
itojun e090b691c1 pflog if support for tcpdump. Peter Postma 2004-06-29 04:46:35 +00:00
itojun 0407dd42ae make PF lkm working. from Peter Postma and Joel Wilsson.
remove pf_ioctl_head/pf_newif_head, which was never used.
2004-06-29 04:42:54 +00:00
christos 6e1b89d727 80K of stack is not enough for a 64 bit machine, and we got crashes on
sparc64. change 20 * 4096 to 5 * 4096 * sizeof(void *). This is again
very little, but enough :-). If you see a crash again, don't blame the
nameserver code before you change this constant.
2004-06-29 04:16:37 +00:00
mycroft ac575d2a58 Make one message dependent on ohcidebug, so it doesn't interfere with polled
operation; e.g. when entering a root device or in DDB.
2004-06-29 03:56:04 +00:00
bouyer 0f8b776e09 Regen, added P1003_1B_SEMAPHORE. 2004-06-28 21:09:22 +00:00
bouyer 21e9a36edc Add options P1003_1B_SEMAPHORE
to all GENERIC-like kernel config files where SYSV* options were already
present (commented out if the SYSV* options are commented out).
Fix lib/25897 and lib/25898.
2004-06-28 21:07:47 +00:00
heas 9efbbebf3a do not reset the chip (and subsequently the phy) when unnecessary; that is,
for address changes, multicast filter changes, or adjusting promiscuous mode.
Fixes resetting the phy for things like start/stopping tcpdump.

ok petrov@, martin@, pk@
2004-06-28 20:50:52 +00:00
martin 34b6ee1e7c Add prototypes for the new functions added in previous commit. 2004-06-28 20:24:16 +00:00
christos d12d56b3d9 PR/26101: Dheeraj: WSKBDIO_GETSCROLL: Operation not supported by device
should not be fatal.
2004-06-28 20:01:33 +00:00
nathanw fa3249e24a Remove an extraneous comment before main() that seems to have been
accidentally cut-and-pasted in with rev 1.30.
2004-06-28 19:27:06 +00:00
mycroft a438f28190 Add myself to "usb" and "acpi". 2004-06-28 18:38:14 +00:00
jkunz 93856baf4d Add hp700 MD options for proper boot code handling. 2004-06-28 18:21:43 +00:00
mycroft b583fff01b Separate page 4/5 reading into separate functions. For "removable" devices,
try page 5 (flex geometry) first.  This fixes problems with some broken USB
devices that do not handle page 4 correctly (rather than returning nothing,
or stalling, they return the CSW where there should be data).
2004-06-28 16:43:49 +00:00
jkunz 61c5baa29e Ignore disklabel errors. Needed to make netbooting work again on some
old 700 machines and to be able to boot from LIF images on disk.
2004-06-28 16:40:44 +00:00
jkunz 0751bf5e12 The bootloader overwrites itself when relocated to 0x720000 and booting a
"big" kernel like GENERIC. So relocate the boot loader just below kernel text.
2004-06-28 16:27:15 +00:00
uch 378e6e4293 add HPW200EC keymap. patch by "Jeremiah Holt" <jholt5638@earthlink.net> 2004-06-28 14:44:28 +00:00
uch 7782d1dc8c add HPW200EC entry. 2004-06-28 14:43:42 +00:00
lukem 20526529b6 Overhaul install-etc-files so that
*	most files are installed with CONFIGFILES (from bsd.files.mk)
    *	empty files are created in a cleaner fashion
    *	MAKEVERBOSE is supported for the remaining custom items
2004-06-28 14:03:02 +00:00
wiz 78bc620954 Add the minus sign that is behind route {add|delete} by default.
Noted by christos.
2004-06-28 13:44:12 +00:00
pk 75c422dbc4 Put back qec_bus_map(), since sparc64's mainbus and sbus drivers do not
use the tag's translation ranges yet.
2004-06-28 10:30:48 +00:00
pk e839b8dccb Provide bus_space_translate_address_generic(), a helper function to
translate a local bus address to an address on the parent bus.
2004-06-28 10:17:01 +00:00
pk a24d586ab2 Rename bus_translate_address_generic => bus_space_translate_address_generic()
and move prototype to <machine/bus.h>.
2004-06-28 10:14:13 +00:00
pk 736c085516 Add openprom range property to the bus space tag. 2004-06-28 09:32:14 +00:00
fvdl 029ca90566 Updaing ci_ilevel and testing ci_ipending must be done with all interrupts
off, or priority inversion can occur, which can lead to IPI deadlocks.
Leaves interrupts off for a bit longer, sadly, but with no noticeable
effects on the systems I tested on.

From YAMAMOTO Takashi.
2004-06-28 09:13:11 +00:00
skrll 2a4235ed84 Note that there is a pppd 2.4.2. 2004-06-28 08:44:47 +00:00
fvdl 07a2b21f39 Set the double fault stack pointer at the end of the stack. 2004-06-28 08:23:21 +00:00
mycroft 00188614f1 Fix some UMATCH values. 2004-06-28 07:49:16 +00:00
mycroft f9fd558bdc Tracy's Clie reports that it's SFF-8070 when it's really UFI. Bah. 2004-06-28 06:47:48 +00:00
mycroft 23e6f04707 Significant cleanup and bug fix of root device detection:
* On systems where it's relevant (6600, kn300, kn8ae), check which PCI bus
  hierarchy we're looking at.
* Consistently check PCI function numbers (important for quad-channel ATA
  controllers).
* Check the channel number (important for ATA and multi-channel SCSI
  controllers).
* Check logical unit numbers.
* Use strcasecmp() to check b->protocol; the case is different depending on
  the firmware revision.
* Remove b->boot_dev_type check; it's unneeded.
* Remove extraneous unneeded variables.

Not only does this fix a few PRs and multiple long-standing bugs, but the
code is smaller too.

PR 9432
PR 12225
PR 25830
2004-06-28 03:53:40 +00:00
uwe 06c338a198 Fit ASCII output onto an 80-column terminal. From FreeBSD. 2004-06-27 19:12:33 +00:00
uwe 150ca6a7f2 Fix a few typos. From FreeBSD. 2004-06-27 19:04:54 +00:00
pk 777714c310 Bus tags should now be constructed by copying the parent's bus tag and
then changing the fields that need to be handled by the child bus.
2004-06-27 18:28:26 +00:00
pk 66a4653f8a Always use `full bus space'. In order to implement this more efficiently,
require that all bus tags have pointers to bus_space_read/write functions,
i.e. no run-time hunting for the first "upstream" implementation.
Since this changes the way bus tags should be constructed it makes sense
to do the same thing for the rest of the bus space methods.
So, now bus space tags are generally constructed by copying the parent's bus
tag and then overriding the methods that the bus driver needs to handle,
instead of starting with an empty bus tag and fiiling in only the fields needed.
2004-06-27 18:24:46 +00:00
martin f142712a67 Add mtd (Myson MTD803 3-in-1 Ethernet) driver. 2004-06-27 16:47:06 +00:00
pk fc7183f440 GC unsed sparc_vme_bus_tag. 2004-06-27 16:08:42 +00:00
dsl 5cf67adbc4 Change interface between bootxx.S and boot1() - always linked together.
This allows boot1() to change the sector number (of the boot partition)
that bootxx.S passes through to boot2().
This means that boot2() will find the correct partition when boot1()
reads /boot from the 'a' partition instead of the mbr boot partition.
This all happens when you update a system that used a small 'wd0h' partition
to boot a raid1 set to the new bootcode.  Deleting /boot from the 'wd0h'
partition will make the new bootcode find /boot and the root filesystem
inside the raid set.
2004-06-27 15:37:11 +00:00
fredb 430f0ecf15 Multiply before divide, correcting a mistake introduced by revision 1.7.
The loss of precision could be significant in some cases.
2004-06-27 15:21:30 +00:00
lukem 6b00b0a32b Run the "su -m nobody -c locate.updatedb" in a subshell with cd / first.
"nobody" doesn't have perms to $WEEKLYDIR which was the cwd previously,
and this may cause a warning to be issued by root's shell as part of the su.
2004-06-27 13:51:55 +00:00
dsl 3cf5992cc1 Some tests for 'here documents' 2004-06-27 10:31:06 +00:00
dsl 60bb0d96f3 Fix treatment of ' inside a 'here document' with a quoted EOF marker.
Fixes a breakage from the previous version.
2004-06-27 10:27:57 +00:00
yamt 21ae434eb2 nfs_lookup: use cache_lookup_raw() so that:
- "intrusive" dirops now have more chances to get benefits from dnlc.
- fixes a deadlock due to vnode locking order inversion.

nfs_create and others: purge stale dnlc entries
as nfs_lookup() no longer does it automatically.
2004-06-27 08:53:03 +00:00
yamt ce02ffbc68 introduce a new function, cache_lookup_raw(), for filesystems which
want more flexible namecache handling.
it just looks up a dnlc entry and vget() the result vnode.
ie. no automatic entry removal, no automatic vnode locking.

discussed on tech-kern@.
2004-06-27 08:50:44 +00:00
jdolecek 2c83b7a91b set gmtoff in the structure returned by MNT_GETARGS call 2004-06-27 06:55:12 +00:00
chs b44e7530d5 update shlibs. fixes PR 25970. 2004-06-27 03:45:25 +00:00
oster 6df1f117b1 Address a number of issues:
1) Introduce functions to allocate and free the emergency IO buffers.

2) Make sure we free any allocated emergency buffers in the event that
we bail out during configuration, or when we unconfigure an array.

3) if we run out of memory trying to allocate a given type of buffer,
don't continue to try to allocate more of those buffers.
(Partially addresses PR#25787)
2004-06-27 03:15:18 +00:00
heas ca470f56bb Carriage return missing in error message. 2004-06-27 02:59:46 +00:00
itohy 8e9e692241 Fix typos in comment. 2004-06-27 02:09:47 +00:00
fredb ca3c6f824f Partly back out the last, to avoid a deadlock when microtime() is called
from levels below IPL_CLOCK (pointed out by thorpej). Just take the lock
before reading the time and cycle counter.
2004-06-27 01:36:04 +00:00