]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/log
FreeBSD/FreeBSD.git
21 years agoClean up dead code.
wpaul [Thu, 11 Sep 2003 08:28:38 +0000 (08:28 +0000)]
Clean up dead code.

21 years agoToggle the interface on and off before starting the diag test. This
wpaul [Thu, 11 Sep 2003 07:54:16 +0000 (07:54 +0000)]
Toggle the interface on and off before starting the diag test. This
seems to be necessary for the 8139C+ under certain circumstances, and
doesn't appear to hurt the other chips. (In the failure case, the
packet would be sent through the TX DMA ring but not get echoed
back. I suspect this has something to do with the link state changing
unexpectedly.)

21 years ago- For the 8169 chips, read the station address by forcing an EEPROM
wpaul [Thu, 11 Sep 2003 06:56:46 +0000 (06:56 +0000)]
- For the 8169 chips, read the station address by forcing an EEPROM
  autoload and then copying the contends of the station address
  registers. For some reason, reading the EEPROM on the 8169S doesn't
  work right. This gets around the problem, and allows us to read
  the station address correctly on the 8169S.

- Insert a delay after initiating packet transmition in re_diag() to
  allow lots of time for the frame to echo back to the host, and wait
  for both the 'RX complete' and 'timeout expired' bits in the ISR
  register to be set.

- Deal more intelligently with the fact that the frame length
  field in the RX descriptor is a different width on the 8139C+
  than it is on the 8169/8169S/8110S

- For the 8169, you have to set bit 17 in the TX config register
  to enter digital loopback mode, but for the 8139C+, you have to
  set both bits 17 and 18. Take this into account so that re_diag()
  works properly for both types of chips.

21 years agoRemove symorder. It's almost useless now that we have ELF kernels and
tjr [Thu, 11 Sep 2003 05:58:21 +0000 (05:58 +0000)]
Remove symorder. It's almost useless now that we have ELF kernels and
no a.out toolchain.

21 years agoMinor commentary cleanup, since I didn't understand the comments that
imp [Thu, 11 Sep 2003 04:22:28 +0000 (04:22 +0000)]
Minor commentary cleanup, since I didn't understand the comments that
I wrote.

21 years agoFix compile on pc98. Maybe this is correct.
imp [Thu, 11 Sep 2003 04:14:26 +0000 (04:14 +0000)]
Fix compile on pc98.  Maybe this is correct.

21 years agoRe-enable VLAN_MTU capability for this driver. (Got reverted when
wpaul [Thu, 11 Sep 2003 04:05:01 +0000 (04:05 +0000)]
Re-enable VLAN_MTU capability for this driver. (Got reverted when
I pulled out the C+/8169 bits.)

21 years agoAdd a PHY driver to support the built-in gigE PHY in the 8169S/8110S
wpaul [Thu, 11 Sep 2003 03:53:46 +0000 (03:53 +0000)]
Add a PHY driver to support the built-in gigE PHY in the 8169S/8110S
ethernet chips. This driver is pretty simple, however it contains
special DSP initialization code which is needed in order to get
the chip to negotiate a gigE link. (This special initialization
may not be needed in subsequent chip revs.) Also:

- Fix typo in if_rlreg.h (RL_GMEDIASTAT_1000MPS -> RL_GMEDIASTAT_1000MBPS)

- Deal with shared interrupts in re_intr(): if interface isn't up,
  return.

- Fix another bug in re_gmii_writereg() (properly apply data field mask)

- Allow PHY driver to read the RL_GMEDIASTAT register via the
  re_gmii_readreg() register (this is register needed to determine
  real time link/media status).

21 years agoDeal with the LOGIN_NAME_MAX issue in the NetBSD->FreeBSD
obrien [Thu, 11 Sep 2003 03:28:21 +0000 (03:28 +0000)]
Deal with the LOGIN_NAME_MAX issue in the NetBSD->FreeBSD
translation^H^H^Hhack layer.

21 years agoAdd a system notify handler in addition to the device notify handler.
njl [Thu, 11 Sep 2003 03:17:33 +0000 (03:17 +0000)]
Add a system notify handler in addition to the device notify handler.
At least some Toshiba notebooks use a Notify of 0 or 1 for this.

PR:
Submitted by: Hiroyuki Aizu <aizu@navi.org>

21 years agoReorder a couple of KASSERTS to give more sensible messages.
phk [Thu, 11 Sep 2003 00:49:02 +0000 (00:49 +0000)]
Reorder a couple of KASSERTS to give more sensible messages.

Found by: GEOM 101 class of '03

21 years agoChanged the ttyd entries to ttyu, which correspond to the device nodes
jake [Thu, 11 Sep 2003 00:14:17 +0000 (00:14 +0000)]
Changed the ttyd entries to ttyu, which correspond to the device nodes
created by uart(4).

21 years agoAdd dumping of the ECDT table.
njl [Wed, 10 Sep 2003 23:52:12 +0000 (23:52 +0000)]
Add dumping of the ECDT table.

Courtesy of: USENIX hall track

21 years agoRewrite the SAPIC initialization to always program the RTEs with what
marcel [Wed, 10 Sep 2003 22:49:38 +0000 (22:49 +0000)]
Rewrite the SAPIC initialization to always program the RTEs with what
we think is the correct trigger mode and polarity. This allows us to
implement BUS_CONFIG_INTR() as an update of the RTE in question.
Consequently, we can trust the RTE when we enable an interrupt and
avoids that we need to know about the trigger mode and polarity at
that time.

21 years agoExtend the ACPI resource handling to make use of the BUS_CONFIG_INTR()
marcel [Wed, 10 Sep 2003 22:06:41 +0000 (22:06 +0000)]
Extend the ACPI resource handling to make use of the BUS_CONFIG_INTR()
method. This is necessary on ia64 where it's known that serial interfaces
described in the ACPI namespace may not have the well-known IRQs assigned
to them. This confuses us in thinking they are PCI based interrupts and
wrongly program the APIC.

21 years agoo Workaround a bug where my T23 reports that it is ACPI 2.0x compatible
njl [Wed, 10 Sep 2003 22:00:45 +0000 (22:00 +0000)]
o Workaround a bug where my T23 reports that it is ACPI 2.0x compatible
but has invalid 64 bit pointers for FACS and DSDT.
o Finish work to print all of the FADT and FACS.
o Resort the comment generating functions.  Submitted by: marcel

Courtesy of: BSDcon back wall

21 years agoIntroduce BUS_CONFIG_INTR(). The method allows devices to tell parents
marcel [Wed, 10 Sep 2003 21:37:10 +0000 (21:37 +0000)]
Introduce BUS_CONFIG_INTR(). The method allows devices to tell parents
about interrupt trigger mode and interrupt polarity. This allows ACPI
for example to pass interrupt resource information up the hierarchy.
The default implementation of the method therefore is to pass the
request to the parent.

Reviewed by: jhb, njl

21 years agoWith the exim port upgrade, modify sysinstall(8):
trhodes [Wed, 10 Sep 2003 20:55:09 +0000 (20:55 +0000)]
With the exim port upgrade, modify sysinstall(8):

- Add 'enable_exim="YES"' to rc.conf(5)
- Use the default exim configuration file from the port
- When using sendmail, disable some more scripts that use sendmail specific
  parameters
- Have sysinstall tweak mailer.conf(5) substitution
- Use 'N' flag for newsyslog(8)

Submitted by: Oliver Eikemeier <eikemeier@fillmore-labs.com>
Reviewed by: sheldonh, simon
Tested by: myself (trhodes) and submitter

21 years agocompaq WL110 is a lucent card
imp [Wed, 10 Sep 2003 19:34:51 +0000 (19:34 +0000)]
compaq WL110 is a lucent card

Submitted by Jeremy Bingham

21 years agomdoc(7): Properly mark C headers.
ru [Wed, 10 Sep 2003 19:24:35 +0000 (19:24 +0000)]
mdoc(7): Properly mark C headers.

21 years agoDocument the fact that send(2) can return EPIPE (like when a socket is not
roberto [Wed, 10 Sep 2003 19:19:49 +0000 (19:19 +0000)]
Document the fact that send(2) can return EPIPE (like when a socket is not
connected).

PR: docs/56683
Submitted by: Chris S.J. Peron <maneo@bsdpro.com>
MFC after: 3 days

21 years agoRelent and back out rev 1.15.
obrien [Wed, 10 Sep 2003 19:08:16 +0000 (19:08 +0000)]
Relent and back out rev 1.15.

21 years agoAdd a dependancy on 'nbsd2fbsd.h'
obrien [Wed, 10 Sep 2003 19:03:48 +0000 (19:03 +0000)]
Add a dependancy on 'nbsd2fbsd.h'

21 years agoSort 'bge' correctly.
obrien [Wed, 10 Sep 2003 18:54:59 +0000 (18:54 +0000)]
Sort 'bge' correctly.

21 years agomdoc(7): Moved #include directives into the SYNOPSIS section.
ru [Wed, 10 Sep 2003 18:47:07 +0000 (18:47 +0000)]
mdoc(7): Moved #include directives into the SYNOPSIS section.

21 years agoTypo.
ru [Wed, 10 Sep 2003 18:45:26 +0000 (18:45 +0000)]
Typo.

21 years agoIn case vmapbuf() fails, release all of the held resources.
alc [Wed, 10 Sep 2003 18:23:43 +0000 (18:23 +0000)]
In case vmapbuf() fails, release all of the held resources.

Submitted by: tegge

21 years agoFix asynchronous physio breakage introduced in rev 1.163.
simokawa [Wed, 10 Sep 2003 15:48:51 +0000 (15:48 +0000)]
Fix asynchronous physio breakage introduced in rev 1.163.
We cannnot use bp->b_caller2 because DEV_STRATEGY will overwrite it.

21 years agoFix bug in re_gmii_writewreg(): we don't need to be screening out certain
wpaul [Wed, 10 Sep 2003 15:14:46 +0000 (15:14 +0000)]
Fix bug in re_gmii_writewreg(): we don't need to be screening out certain
PHY addresses here. (The chip will only let you talk to one PHY anyway.)

21 years agoTeach rl(4) about new hwrev codes.
wpaul [Wed, 10 Sep 2003 15:12:55 +0000 (15:12 +0000)]
Teach rl(4) about new hwrev codes.

21 years agoTry a bit harder to probe disks that doesn't quite set BUSY right.
sos [Wed, 10 Sep 2003 09:57:16 +0000 (09:57 +0000)]
Try a bit harder to probe disks that doesn't quite set BUSY right.

21 years agomdoc(7): There cannot be a subsection inside a list.
ru [Wed, 10 Sep 2003 08:24:33 +0000 (08:24 +0000)]
mdoc(7): There cannot be a subsection inside a list.

Reported by: naddy

21 years agoUpdate hardware revision table. 0x04000000 appears to be the revision
wpaul [Wed, 10 Sep 2003 07:21:43 +0000 (07:21 +0000)]
Update hardware revision table. 0x04000000 appears to be the revision
for the 8169S, according to my sample board. The RealTek Linux driver
mentions 0x00800000. I'm assigning this to the 8110S until I get
more info on it. (The (preliminary) RealTek docs only say that 8169S/8110S
chips will have some combination of those two bits set, but doesn't say
exactly what bit combination goes with which chip variant.)

21 years agoWhitespace.
jhb [Wed, 10 Sep 2003 07:09:16 +0000 (07:09 +0000)]
Whitespace.

21 years agoDocument the alternate way of matching MAC addresses: by a bitmask.
roam [Wed, 10 Sep 2003 06:41:16 +0000 (06:41 +0000)]
Document the alternate way of matching MAC addresses: by a bitmask.

PR: 56021
Submitted by: Glen Gibb <grg@ridley.unimelb.edu.au>
MFC after: 1 month

21 years agoMove the definitions for ACPI MADT table entries not present in the ACPICA
jhb [Wed, 10 Sep 2003 06:32:27 +0000 (06:32 +0000)]
Move the definitions for ACPI MADT table entries not present in the ACPICA
distribution to a MI header so it can be shared with other architectures.

21 years agoWe represent PCI intpin's two different ways. One is the way that the
jhb [Wed, 10 Sep 2003 06:00:53 +0000 (06:00 +0000)]
We represent PCI intpin's two different ways.  One is the way that the
intpin register is expressed in hardware where 0 means none, 1 means INTA,
2 INTB, etc.  The other way is commonly used in loops where 0 means INTA,
1 means INTB, etc.  The matchpin argument to pci_cfgintr_search() is
supposed to be the first form, but we passsed in a loop index of the
second.  This fix adds one to the loop index to convert to the first form.

Reported by: Pavlin Radoslavov <pavlin@icir.org>

21 years agoFinish an earlier commit:
jhb [Wed, 10 Sep 2003 05:29:30 +0000 (05:29 +0000)]
Finish an earlier commit:

Add a acpi_SetDefaultIntrModel() method to allow drivers to set the
interrupt model prior to the acpi0 device being probed and attached.

21 years agoIf we failed to size the Rx FIFO, assume the worst. This however
marcel [Wed, 10 Sep 2003 05:01:08 +0000 (05:01 +0000)]
If we failed to size the Rx FIFO, assume the worst. This however
is not a size of 1. Since we already know there is a FIFO, we can
safely assume that it is at least 16 bytes. Note that all this is
mostly academic anyway. We don't use the size of the Rx FIFO
currently. If we add support for hardware flow control, we only
care about Rx FIFO sizes larger than 16.

21 years agoMove an annoying printf() call that gets triggered every time an
tjr [Wed, 10 Sep 2003 01:41:15 +0000 (01:41 +0000)]
Move an annoying printf() call that gets triggered every time an
operation is interrupted (with ^C or ^Z) under CODA_VERBOSE.

21 years agoRemove an XXX comment by using the per CPU mask added after this comment
jhb [Wed, 10 Sep 2003 01:36:48 +0000 (01:36 +0000)]
Remove an XXX comment by using the per CPU mask added after this comment
was added.

21 years agoAdd a acpi_SetDefaultIntrModel() method to allow drivers to set the
jhb [Wed, 10 Sep 2003 01:14:42 +0000 (01:14 +0000)]
Add a acpi_SetDefaultIntrModel() method to allow drivers to set the
interrupt model prior to the acpi0 device being probed and attached.

21 years agoadd ELSA Vianect WLAN (Marco Wertejuk)
imp [Wed, 10 Sep 2003 01:14:07 +0000 (01:14 +0000)]
add ELSA Vianect WLAN (Marco Wertejuk)
benq awl100 (David Leemans)

ObTerminalRoomCommit: done!

21 years agoFix a typo.
jhb [Wed, 10 Sep 2003 01:11:58 +0000 (01:11 +0000)]
Fix a typo.

21 years agoAdd comments to the members of the timecounter struct similar to other
jhb [Wed, 10 Sep 2003 01:10:24 +0000 (01:10 +0000)]
Add comments to the members of the timecounter struct similar to other
timecounters.

21 years agoUpdate the license on this file to be a bit more sane.
jhb [Wed, 10 Sep 2003 01:09:32 +0000 (01:09 +0000)]
Update the license on this file to be a bit more sane.

21 years agoAdd constants for entries in the IDT and use those instead of magic
jhb [Wed, 10 Sep 2003 01:07:04 +0000 (01:07 +0000)]
Add constants for entries in the IDT and use those instead of magic
numbers.

21 years agoAdd /usr/X11R6/man to the optional manpath.
ru [Wed, 10 Sep 2003 00:07:28 +0000 (00:07 +0000)]
Add /usr/X11R6/man to the optional manpath.

PR: conf/56626
Submitted by: Oliver Eikemeier

21 years agoFixed -Wpointer-arith warning.
ru [Tue, 9 Sep 2003 23:50:57 +0000 (23:50 +0000)]
Fixed -Wpointer-arith warning.

Submitted by: Stefan Farfeleder
PR: bin/56653

21 years agoCatch up with mdoc.local list of libraries.
ru [Tue, 9 Sep 2003 23:27:03 +0000 (23:27 +0000)]
Catch up with mdoc.local list of libraries.

21 years agoCatch up with mdoc.local list of libraries.
ru [Tue, 9 Sep 2003 23:19:03 +0000 (23:19 +0000)]
Catch up with mdoc.local list of libraries.

21 years agoOriginal pthread_once code has memory leak if pthread_once_t is used in
davidxu [Tue, 9 Sep 2003 22:38:12 +0000 (22:38 +0000)]
Original pthread_once code has memory leak if pthread_once_t is used in
a shared library or any other dyanmic allocated data block, once
pthread_once_t is initialized, a mutex is allocated, if we unload the
shared library or free those data block, then there is no way to deallocate
the mutex, result is memory leak.
To fix this problem, we don't use mutex field in pthread_once_t, instead,
we use its state field and an internal mutex and conditional variable in
libkse to do any synchronization, we introduce a third state IN_PROGRESS to
wait if another thread is already in invoking init_routine().
Also while I am here, make pthread_once() conformed to pthread cancellation
point specification.

Reviewed by: deischen

21 years agoSwitch dotrim() to take advantage of the 'struct conf_entry' that
gad [Tue, 9 Sep 2003 21:14:05 +0000 (21:14 +0000)]
Switch dotrim() to take advantage of the 'struct conf_entry' that
is already passed in, instead of having the caller copy values from
that struct into additional parameters.

MFC after: 22 days

21 years agoReduce the annoying compiler warnings that pop up when compiling with
gad [Tue, 9 Sep 2003 20:29:26 +0000 (20:29 +0000)]
Reduce the annoying compiler warnings that pop up when compiling with
gcc 3.3.x and -Wshadow.  Just renames 'log' variables to be 'logname'.

MFC after: 22 days

21 years agoClean up get/set_mcontext() and get/set_fpcontext(). These are operated
peter [Tue, 9 Sep 2003 19:32:09 +0000 (19:32 +0000)]
Clean up get/set_mcontext() and get/set_fpcontext().  These are operated
on data structures on the kernel stack which are guaranteed to be 16 byte
aligned by gcc, the amd64 ABI and __aligned(16).

Ensire the tss_rsp0 initial stack pointer is 16 byte aligned in case
sizeof(pcb) becomes odd at some point.  This is convenient for the
interrupt handler case because the ring crossing pushes cause the
required odd alignment before the call to the C code.

Have fast_syscall add an additional 8 bytes to ensure that the trapframe
has the correct odd alignment for the call to C code.  Note that there are
no checks to make sure that the trapframe size is appropriate for this.

This makes get/setfpcontext work properly (finally).  You get a GPF in
kernel mode if any of this is botched without the alignment fixup code
that is apparently needed on i386.

21 years agoFix some broken comments.
des [Tue, 9 Sep 2003 19:22:55 +0000 (19:22 +0000)]
Fix some broken comments.

21 years agoThe re.4 manpage has been checked in now, so hook it back up.
ceri [Tue, 9 Sep 2003 18:30:34 +0000 (18:30 +0000)]
The re.4 manpage has been checked in now, so hook it back up.

21 years agoAdd LOG2_ID_PAGE_SIZE to the mix of options on ia64.
marcel [Tue, 9 Sep 2003 18:30:20 +0000 (18:30 +0000)]
Add LOG2_ID_PAGE_SIZE to the mix of options on ia64.

21 years agoRemove unnecessary #include of brgphyreg.h, left over from when Stuart used
wpaul [Tue, 9 Sep 2003 18:21:17 +0000 (18:21 +0000)]
Remove unnecessary #include of brgphyreg.h, left over from when Stuart used
the bge(4) driver as a template.

21 years agoAdd a device driver for the Broadcom BCM4401 ethernet controller,
wpaul [Tue, 9 Sep 2003 18:17:23 +0000 (18:17 +0000)]
Add a device driver for the Broadcom BCM4401 ethernet controller,
written by Stuart Walsh and Duncan Barclay (with some kibbitzing by
me). I'm checking it in on Stuart's behalf.

The BCM4401 is built into several x86 laptop and desktop systems. For the
moment, I have only enabled it in the x86 kernel config because although
it's a PCI device, I haven't heard of any standalone NICs that use it. If
somebody knows of one, we can easily add it to the other arches.

This driver uses register/structure data gleaned from the Linux
driver released by Broadcom, but does not contain any of the code
from the Linux driver itself. It uses busdma.

21 years agoRestore behaviour from rev. 1.9. Only log when there is a real change
mbr [Tue, 9 Sep 2003 16:19:46 +0000 (16:19 +0000)]
Restore behaviour from rev. 1.9. Only log when there is a real change
to the configuration state.

Noticed by: obrien

21 years agoUpdate the explanation of parity capabilities
yar [Tue, 9 Sep 2003 15:37:19 +0000 (15:37 +0000)]
Update the explanation of parity capabilities
to bring it into accord with the present getty(8) code.

PR: bin/56325
MFC after: 3 days

21 years agoAdd the -m, -w and -x options to ls's usage message.
tjr [Tue, 9 Sep 2003 12:02:52 +0000 (12:02 +0000)]
Add the -m, -w and -x options to ls's usage message.

PR: 51493
Submitted by: Walter Belgers
MFC after: 1 month

21 years agoAdd support for ACPI 2.x and the XSDT.
njl [Tue, 9 Sep 2003 08:54:04 +0000 (08:54 +0000)]
Add support for ACPI 2.x and the XSDT.

Submitted by: marcel

21 years agoRename FACP to FADT throughout.
njl [Tue, 9 Sep 2003 08:31:58 +0000 (08:31 +0000)]
Rename FACP to FADT throughout.
Update FADT for new fields including pm_profile, pstate_cnt, and cst_cnt.
Add acpi_print_gas() for printing various address formats.
Print FACS contents.
Remove unused code.

21 years agoAdd cwd, root and statm (modeled on a 2.4.20 kernel). De-obfuscate
des [Tue, 9 Sep 2003 08:19:06 +0000 (08:19 +0000)]
Add cwd, root and statm (modeled on a 2.4.20 kernel).  De-obfuscate
linprocfs_init() a little and remove some gratuitous whitespace.

21 years agoMake char signed by default.
des [Tue, 9 Sep 2003 07:01:13 +0000 (07:01 +0000)]
Make char signed by default.

Submitted by: grehan

21 years agoAdd code to support pthread spin lock.
davidxu [Tue, 9 Sep 2003 06:57:51 +0000 (06:57 +0000)]
Add code to support pthread spin lock.

Reviewed by: deischen

21 years agoUse PCIR_BAR() instead of a magic offset.
scottl [Tue, 9 Sep 2003 06:44:58 +0000 (06:44 +0000)]
Use PCIR_BAR() instead of a magic offset.

21 years agoRe-arrange the raid section a small bit and put drivers into their proper
scottl [Tue, 9 Sep 2003 06:36:32 +0000 (06:36 +0000)]
Re-arrange the raid section a small bit and put drivers into their proper
category.

21 years agoIntroduce IA64_ID_PAGE_{MASK|SHIFT|SIZE} and LOG2_ID_PAGE_SIZE. The
marcel [Tue, 9 Sep 2003 05:59:09 +0000 (05:59 +0000)]
Introduce IA64_ID_PAGE_{MASK|SHIFT|SIZE} and LOG2_ID_PAGE_SIZE. The
latter is a kernel option for IA64_ID_PAGE_SHIFT, which in turn
determines IA64_ID_PAGE_MASK and IA64_ID_PAGE_SIZE.

The constants are used instead of the literal hardcoding (in its
various forms) of the size of the direct mappings created in region
6 and 7. The default and probably only workable size is still 256M,
but for kicks we use 128M for LINT.

21 years agoCorrect the comment about which timezone-change loses an hour...
gad [Tue, 9 Sep 2003 05:26:27 +0000 (05:26 +0000)]
Correct the comment about which timezone-change loses an hour...

MFC after: 23 days

21 years agoAdd a '-D <something>' command line arg, which can be used to set
gad [Tue, 9 Sep 2003 05:23:06 +0000 (05:23 +0000)]
Add a '-D <something>' command line arg, which can be used to set
debugging options.  Initial option is '-D TN=<time>', which can be
used to see how newsyslog would work if run at the specified time.
(time format is ISO 8601, since that is already supported).

MFC after: 23 days

21 years agoDisallow attempts to suspend to S0. It was only enabled for testing.
njl [Tue, 9 Sep 2003 04:09:25 +0000 (04:09 +0000)]
Disallow attempts to suspend to S0.  It was only enabled for testing.
Print a more informative message if a sleep state is not supported by BIOS.
Add comments.

21 years agoUse strtol() instead of strtoul() in parse8601, so we can detect
gad [Tue, 9 Sep 2003 03:04:50 +0000 (03:04 +0000)]
Use strtol() instead of strtoul() in parse8601, so we can detect
negative values.  Mainly done to sync this routine with OpenBSD.

Obtained from: OpenBSD
MFC after: 23 days

21 years agoFix typo in the previous commit. Was checking wrong variable...
gad [Tue, 9 Sep 2003 02:58:23 +0000 (02:58 +0000)]
Fix typo in the previous commit.  Was checking wrong variable...

MFC after: 23 days

21 years agoChange parse8601 and parseDWM so they return an alternate error value
gad [Tue, 9 Sep 2003 02:50:25 +0000 (02:50 +0000)]
Change parse8601 and parseDWM so they return an alternate error value
for invalid times, and have the caller print the error message.

MFC after: 23 days

21 years agoAdd the re.4 man page, which I forgot to do last night.
wpaul [Tue, 9 Sep 2003 02:45:53 +0000 (02:45 +0000)]
Add the re.4 man page, which I forgot to do last night.

21 years agoCosmetic change to move parse8601 right next to parseDWM. No code
gad [Tue, 9 Sep 2003 02:21:53 +0000 (02:21 +0000)]
Cosmetic change to move parse8601 right next to parseDWM.  No code
is changed.  (that will come in later updates).

MFC after: 23 days

21 years agoHook the SiS DRM up to the build
anholt [Tue, 9 Sep 2003 00:29:02 +0000 (00:29 +0000)]
Hook the SiS DRM up to the build

Sponsored by: LinuxFund

21 years agoMerge from DRI CVS. Includes newly ported SiS 300/305/540/630/730 driver and
anholt [Tue, 9 Sep 2003 00:24:31 +0000 (00:24 +0000)]
Merge from DRI CVS.  Includes newly ported SiS 300/305/540/630/730 driver and
updates to allow system memory to be used for textures on PCI Radeons.

Sponsored by: LinuxFund

21 years agoTurn aac back on now that its been cleaned up for 64 bit compilation
peter [Mon, 8 Sep 2003 20:00:55 +0000 (20:00 +0000)]
Turn aac back on now that its been cleaned up for 64 bit compilation

21 years agomdoc(7): Use the new feature of the .In macro.
ru [Mon, 8 Sep 2003 19:57:22 +0000 (19:57 +0000)]
mdoc(7): Use the new feature of the .In macro.

21 years agoFinish the reversion of rev. 1.52.
ru [Mon, 8 Sep 2003 18:58:47 +0000 (18:58 +0000)]
Finish the reversion of rev. 1.52.

21 years agoCorrect bzero length so we clear the entire key structure.
phk [Mon, 8 Sep 2003 18:35:26 +0000 (18:35 +0000)]
Correct bzero length so we clear the entire key structure.

21 years agoCorrectly bzero the entire context, not just the first sizeof(void *) bytes.
phk [Mon, 8 Sep 2003 18:32:33 +0000 (18:32 +0000)]
Correctly bzero the entire context, not just the first sizeof(void *) bytes.

Found by: Juergen Buchmueller <pullmoll@stop1984.com>

21 years agoArgh. This file was completely out of sync with mcontext/trapframe.
peter [Mon, 8 Sep 2003 18:31:48 +0000 (18:31 +0000)]
Argh.  This file was completely out of sync with mcontext/trapframe.

21 years agoHmm. Two copies of the mcontext...
peter [Mon, 8 Sep 2003 18:28:41 +0000 (18:28 +0000)]
Hmm.  Two copies of the mcontext...

21 years agoUnbreak Russian KOI8-R support.
ru [Mon, 8 Sep 2003 17:46:33 +0000 (17:46 +0000)]
Unbreak Russian KOI8-R support.

21 years agoQuiet down boot verbose and allow commands to be submitted to a target
ps [Mon, 8 Sep 2003 16:45:33 +0000 (16:45 +0000)]
Quiet down boot verbose and allow commands to be submitted to a target
which does not have a volume attached.  This will stop cam from retrying
a bunch of time at boot for devices which do not exsist.

21 years agoIn the !MNT_BYFSID case, return EINVAL from unmount(2) when the
iedowse [Mon, 8 Sep 2003 16:23:21 +0000 (16:23 +0000)]
In the !MNT_BYFSID case, return EINVAL from unmount(2) when the
specified directory is not found in the mount list. Before the
MNT_BYFSID changes, unmount(2) used to return ENOENT for a nonexistent
path and EINVAL for a non-mountpoint, but we can no longer distinguish
between these cases. Of the two error codes, EINVAL was more likely
to occur in practice, and it was the only one of the two that was
documented.

Update the manual page to match the current behaviour.

Suggested by: tjr
Reviewed by: tjr

21 years ago- Use trademark entities.
simon [Mon, 8 Sep 2003 14:53:02 +0000 (14:53 +0000)]
- Use trademark entities.
- Add trademark attributions.
- Don't join trademarks with other words, e.g. using hyphens.

21 years agoAdd another ID for the SiI3112a SATA chip as used on the Adaptec 1210SA.
sos [Mon, 8 Sep 2003 13:55:05 +0000 (13:55 +0000)]
Add another ID for the SiI3112a SATA chip as used on the Adaptec 1210SA.
RAID support is still in the works, so for now just normal ATA ops.

Sponsored by: Matt Douhan(www.fruitsalad.org)

21 years agoLimit the size of the rebuild requests to be within safety.
sos [Mon, 8 Sep 2003 13:36:26 +0000 (13:36 +0000)]
Limit the size of the rebuild requests to be within safety.

21 years agoBump __FreeBSD_version for Coda 6.x venus<->kernel API support.
tjr [Mon, 8 Sep 2003 11:54:59 +0000 (11:54 +0000)]
Bump __FreeBSD_version for Coda 6.x venus<->kernel API support.

21 years agoUse __FBSDID().
obrien [Mon, 8 Sep 2003 09:11:32 +0000 (09:11 +0000)]
Use __FBSDID().
Also some minor style cleanups.

21 years ago#ifdef out the vague ATA disk detection code causing fake ATA disks
sos [Mon, 8 Sep 2003 08:36:46 +0000 (08:36 +0000)]
#ifdef out the vague ATA disk detection code causing fake ATA disks
to be found on some systems.
Hopefully this doesn't loose any real ATA disks...

21 years agoHandle shared channels better.
sos [Mon, 8 Sep 2003 08:32:25 +0000 (08:32 +0000)]
Handle shared channels better.
Try to avoid the spurios interrupts better.

21 years agoUpdate the PIO mode gathering code.
sos [Mon, 8 Sep 2003 08:30:43 +0000 (08:30 +0000)]
Update the PIO mode gathering code.

Reported by: bde

21 years agoCommand line variables take precedence over global variables.
ru [Mon, 8 Sep 2003 08:23:29 +0000 (08:23 +0000)]
Command line variables take precedence over global variables.
Make this true in the .for loops too.  The following fragment,

FOO= foo bar

all:
.for f in ${FOO}
@echo ${f}
.endfor

when run as "make FOO=xxx" should print "xxx".  (OpenBSD had
this bug fixed for some time.)