obrien [Tue, 20 Jun 2000 06:08:35 +0000 (06:08 +0000)]
None of these files are used in our build, nor do I really believe
anyone is going to read them. Many were new with the
"sourceware_binutils-2_10-branch_anoncvs_20000512" import. Others have
been around since 2.8.1.
alfred [Tue, 20 Jun 2000 01:09:23 +0000 (01:09 +0000)]
return of the accept filter part II
accept filters are now loadable as well as able to be compiled into
the kernel.
two accept filters are provided, one that returns sockets when data
arrives the other when an http request is completed (doesn't work
with 0.9 requests)
gallatin [Mon, 19 Jun 2000 18:41:27 +0000 (18:41 +0000)]
Support bounce buffers for ISA DMA on the alpha. This is required for the
irongate chipset (used in the UP1000) which does not support scatter/gather
DMA. We'll still use scatter gather if the core logic chipset supports it.
jhb [Mon, 19 Jun 2000 17:44:40 +0000 (17:44 +0000)]
- Add some more details to the 'lsdev' output for FAT file systems.
- Add in support for the EDD (Enhanced Disk Drive) BIOS extensions to
use LBA mode for accessing drives past cylinder 1024. This should allow
us to load a kernel from anywhere on a newer drive up to 2 TB. Part
of this came from the PR below.
PR: i386/13847
Submitted by: Tor Egge <Tor.Egge@fast.no>
joe [Sun, 18 Jun 2000 22:18:04 +0000 (22:18 +0000)]
Don't assume that the output of strftime for "%c" ("national
representation of time and date") won't change in time. Instead
of hard coding the locations of the time elements and hoping that
they don't move use strftime to generate the desired formats in
the first place.
mckusick [Sun, 18 Jun 2000 22:14:28 +0000 (22:14 +0000)]
When running with quotas enabled on a filesystem using soft updates,
the system would panic when a user's inode quota was exceeded (see
PR 18959 for details). This fixes that problem.
PR: 18959
Submitted by: Jason Godsey <jason@unixguy.fidalgo.net>
mckusick [Sun, 18 Jun 2000 22:05:57 +0000 (22:05 +0000)]
Some additional performance improvements. When freeing an inode
check to see if it has been committed to disk. If it has never
been written, it can be freed immediately. For short lived files
this change allows the same inode to be reused repeatedly.
Similarly, when upgrading a fragment to a larger size, if it
has never been claimed by an inode on disk, it too can be freed
immediately making it available for reuse often in the next slowly
growing block of the same file.
dmlb [Sun, 18 Jun 2000 21:40:46 +0000 (21:40 +0000)]
General tidy up and plough through TODO list.
Rewrote intro at top of file to reflect my better understanding of how it
the memory mapping works.
Clear the DONE list and move some thoughts into the TODO list.
Remove RECERR from RAY_DEBUG
Start to use a desired network parameter structure, only used in download
code as I've realised that there are some problems with the idea.
Break up ray_rx, and move the data packet handler into a seperate function. This meant some knock on changes in ray_rx_mgt/ray_rx_ctl to do with
mbuf freeing.
Remove some debug code/XXX comments that are out of date.
obrien [Sun, 18 Jun 2000 21:15:52 +0000 (21:15 +0000)]
List of distfile contents to delete using `rm' and `find -delete'.
Simular to the FREEBSD-Xlist used with `tar -X ... -xf'.
This file is typically used when one starts with the Binutils anoncvs repo
rather than a release tarball.
imp [Sun, 18 Jun 2000 05:25:30 +0000 (05:25 +0000)]
Almost make loading work. This is a checkpoint. With these change we
can almost kldload this. More work is ncessary, but I wanted to
checkpoint this now.
mjacob [Sun, 18 Jun 2000 05:18:55 +0000 (05:18 +0000)]
Clean up firmware load issues and remove darn near all config options.
Force alphas to prefer mem mapping as the default.
Basically, we have a pointer to a function which we can call which will
return us a pointer to firmware for the card we have. We call this function
(if it's non-NULL) with the address of our mdvec f/w pointer.
The way this works is that if ispfw (as a module or a static) is loaded,
it initializes the pointer in isp_pci, so we can call into to it to fetch
a pointer to a f/w set.
If ispfw is MOD_UNLOADed, it's retained a pointer to our mdvec f/w pointers,
which then get zeroed out so we don't have any references to data that's
now gone from kernel memory. Removing the f/w saves ~360KBytes.
Alas, there is no autounload mechanism that works for is here.
imp [Sun, 18 Jun 2000 05:08:57 +0000 (05:08 +0000)]
Preliminary commit of oldcard module. This might not work, but will.
This should allow one to load oldcard or newcard for testing. Please
let me know if this doesn't work. Don't load this and either of pcic
or pccard. I've not tried it, but I suspect bad things will happen.
imp [Sun, 18 Jun 2000 04:59:39 +0000 (04:59 +0000)]
o Implement some compatibility functions for NEWCARD compat. This is
incomplete, but will eventually allow the same drivers to function
with both oldcard and newcard.
o Remove include of opt_bus.h. It isn't needed and gets in the way of
module building.
mjacob [Sun, 18 Jun 2000 04:56:17 +0000 (04:56 +0000)]
Once we have firmware running (if isp_reset) and this is the first time
through, establish what our LUN width is. Unfortunately, we can't ask
the f/w. If we loaded the f/w, we'll now assume we have expanded LUNs
(SCCLUN for fibre channel, just plain 32 LUN for SCSI). If we didn't
load firmware, assume 8 LUNs for SCSI and 1 LUN for Fibre Channel. We
have to assume only one LUN for Fibre Channel because the LUN setting
in Request Queue entries is in different places whether we have SCCLUN
firmware or not, so the only LUN guaranteed to work for both is LUN 0.
Clean up the rest of isp.c so that ISP2100_SCCLUN defines aren't used-
instead use run time determinants based upon isp->isp_maxluns.
After starting firmware, delay 500us to give it a chance to get rolling.
Fix the interrupt service routine to check for both isr && sema being zero
before thinking this was a spurious interrupt. Following the manuals,
allow for both Mailbox as well as Queue Reponse type interrupts for regular
SCSI.
mjacob [Sun, 18 Jun 2000 04:47:12 +0000 (04:47 +0000)]
Roll platform minor number. Force definition of SCSI_ISP_FABRIC
(we always support fabric now). Remove SCCLUN definition (we always
support SCCLUN now, if we load the f/w). Add typedef definition of an
external firmware fetch function.
davidn [Sun, 18 Jun 2000 02:39:17 +0000 (02:39 +0000)]
Be a little more strict about handling command line args. This allows user and
group names like 'help' 'mod' 'user' 'group' etc. to work correctly without
requiring the -n style invocation.
PR: misc/17069
davidn [Sun, 18 Jun 2000 02:16:07 +0000 (02:16 +0000)]
Second and hopefully final fix to .db sync when renaming a user; we must run
a full reindex in this case to remove the old record. #ifdef -u capability
since this is available on FreeBSD only.
PR: bin/16418
Problem pointed out by: Masachika ISHIZUKA <ishizuka@ish.org>
peter [Sat, 17 Jun 2000 20:10:55 +0000 (20:10 +0000)]
Deal with quoted arguments. This hack parser uses whitespace to delimit
fields, not lex/yacc grammar so it is not an exact match but should be
close enough for most cases.
Deal with 'port?', 'irq?' style specifications. These are parsed as
seperate values in lex/yacc in config(8) but tripped up this helper tool.
peter [Sat, 17 Jun 2000 19:06:13 +0000 (19:06 +0000)]
Use while (<>) instead of while(<STDIN>) so that perl will automagically
deal with filename arguments. It is amazing how much you forget over time.
Thanks to the people that reminded me this. I knew there was an easy way
that didn't involve messing with $argv, filehandles, etc, but just could
not remember - all of my books are on the opposite side of the planet..
jhb [Sat, 17 Jun 2000 06:45:40 +0000 (06:45 +0000)]
Add support for emulating the RDMSR and WRMSR instructions into BTX. In
theory, this should allow the K7V Athlon motherboard to boot ok with boot
virus protection enabled. However, I have no hardware to test this. It
shouldn't break anything though. :)
joe [Sat, 17 Jun 2000 01:43:56 +0000 (01:43 +0000)]
The "def" arg for fflagstostr is too specialized for ls. The caller
can easily translate from "" to whatever it wants to print if no
flags are set. (ls prints "-" and mtree prints "none".)
joe [Sat, 17 Jun 2000 01:28:13 +0000 (01:28 +0000)]
Return of the evil file flags! The {s|g}etflags functions were
renamed to {s|g}etflagsbyname, which received objections. They're
now called strtofflags (string to file flags) and fflagstostr (file
flags to string).
ru [Fri, 16 Jun 2000 20:36:16 +0000 (20:36 +0000)]
- Improved passive mode FTP support by aliasing 229 replies.
- Stricter checking of PORT/EPRT/227/229 messages format.
- Moved all security checks into one place.
wpaul [Fri, 16 Jun 2000 20:14:43 +0000 (20:14 +0000)]
Implement SIOCSIFLLADDR, which allows you to change the link-level
address on an interface. This basically allows you to do what my
little setmac module/utility does via ifconfig. This involves the
following changes:
socket.h: define SIOCSIFLLADDR
if.c: add support for SIOCSIFLLADDR, which resets the values in
the arpcom struct and sockaddr_dl for the specified interface.
Note that if the interface is already up, we need to down/up
it in order to program the underlying hardware's receive filter.
ifconfig.c: add lladdr command
ifconfig.8: document lladdr command
You can now force the MAC address on any ethernet interface to be
whatever you want. (The change is not sticky across reboots of course:
we don't actually reprogram the EEPROM or anything.) Actually, you
can reprogram the MAC address on other kinds of interfaces too; this
shouldn't be ethernet-specific (though at the moment it's limited to
6 bytes of address data).
Nobody ran up to me and said "this is the politically correct way to
do this!" so I don't want to hear any complaints from people who think
I could have done it more elegantly. Consider yourselves lucky I didn't
do it by having ifconfig tread all over /dev/kmem.
asami [Fri, 16 Jun 2000 19:08:19 +0000 (19:08 +0000)]
Add a few directories that were shared by a lot of ports: section 3
of perl man pages and site_perl directories for alpha and i386 in /usr/local,
and share/aclocal and share/doc/ja in /usr/local and /usr/X11R6.
Reviewed by: the ports list
Approved by: steve (alpha part)