| Age | Commit message (Collapse) | Author |
|
nsp(4) is marked as gone in 12. Remove it. There are no sightings of
it in the nycbug dmesg database. It was for an obscure SCSI card that
sold mostly in Japan, and was especially popilar among pc98 hackers in
the 4.x time frame. It was also only enabled on i386.
Relnote: Yes
Notes:
svn path=/head/; revision=339571
|
|
Differential Revision: https://reviews.freebsd.org/D13818
Notes:
svn path=/head/; revision=328523
|
|
Mainly focus on files that use BSD 2-Clause license, however the tool I
was using misidentified many licenses so this was mostly a manual - error
prone - task.
The Software Package Data Exchange (SPDX) group provides a specification
to make it easier for automated tools to detect and summarize well known
opensource licenses. We are gradually adopting the specification, noting
that the tags are considered only advisory and do not, in any way,
superceed or replace the license texts.
Notes:
svn path=/head/; revision=326255
|
|
Most affect comments, very few have user-visible effects.
Notes:
svn path=/head/; revision=298955
|
|
Most calls to bus_alloc_resource() use "anywhere" as the range, with a given
count. Migrate these to use the new bus_alloc_resource_anywhere() API.
Reviewed by: jhb
Differential Revision: https://reviews.freebsd.org/D5370
Notes:
svn path=/head/; revision=296137
|
|
Summary:
Migrate to using the semi-opaque type rman_res_t to specify rman resources. For
now, this is still compatible with u_long.
This is step one in migrating rman to use uintmax_t for resources instead of
u_long.
Going forward, this could feasibly be used to specify architecture-specific
definitions of resource ranges, rather than baking a specific integer type into
the API.
This change has been broken out to facilitate MFC'ing drivers back to 10 without
breaking ABI.
Reviewed By: jhb
Sponsored by: Alex Perez/Inertial Computing
Differential Revision: https://reviews.freebsd.org/D5075
Notes:
svn path=/head/; revision=294883
|
|
Pointy Hat To: imp@
Notes:
svn path=/head/; revision=292111
|
|
block. Use it in all the PNP drivers to export either the current PNP
table. For uart, create a custom table and export it using
MODULE_PNP_INFO since it's the only one that matches on function
number.
Differential Review: https://reviews.freebsd.org/D3461
Notes:
svn path=/head/; revision=292079
|
|
related cleanups:
- Require each driver to initalize a mutex in the scsi_low_softc that
is shared with the scsi_low code. This mutex is used for CAM SIMs,
timers, and interrupt handlers.
- Replace the osdep function switch with direct calls to the relevant
CAM functions and direct manipulation of timers via callout(9).
- Collapse the CAM-specific scsi_low_osdep_interface substructure
directly into scsi_low_softc.
- Use bus_*() instead of bus_space_*().
- Return BUS_PROBE_DEFAULT from probe routines instead of 0.
- No need to zero softcs.
- Pass 0ul and ~0ul instead of 0 and ~0 to bus_alloc_resource().
- Spell "dettach" as "detach".
- Remove unused 'dvname' variables.
- De-spl().
Tested by: no one
Notes:
svn path=/head/; revision=274760
|
|
PR: misc/174625
Submitted by: Jeremy Chadwick <jdc@koitsu.org>
Notes:
svn path=/head/; revision=250460
|
|
drivers:
- Remove scsi_low_pisa.*, they were unused.
- Remove <compat/netbsd/physio_proc.h> and calls to the stubs in that
header. They were empty nops.
- Retire sl_xname and use device_get_nameunit() and device_printf() with
the underlying device_t instead.
- Remove unused {ct,ncv,nsp,stg}print() functions.
- Remove empty SOFT_INTR_REQUIRED() macro and the unused sl_irq member.
Notes:
svn path=/head/; revision=240325
|
|
NetBSD/pc98 was never merged into the main NetBSD tree and is no longer
developed. Adding locking to these drivers would have made the compat
shims hard to impossible to maintain, so remove the shims to ease
future changes.
These changes were verified by md5. Some additional shims can be removed
that do affect the compiled results that I will probably do in another
round.
Approved by: nyan (tentatively)
Notes:
svn path=/head/; revision=240172
|
|
with common issue of having void return type instead of int
Reviewed by: imp, current@
Approved by: jhb (mentor)
Notes:
svn path=/head/; revision=194023
|
|
to int rule. See ISO C Standard: SS6.7.5.3:15.
Approved by: kib (mentor)
Reviewed by: warner
Tested by: silence on -current
Notes:
svn path=/head/; revision=189004
|
|
bus_setup_intr()
o add an int return code to all fast handlers
o retire INTR_FAST/IH_FAST
For more info: http://docs.freebsd.org/cgi/getmsg.cgi?fetch=465712+0+current/freebsd-current
Reviewed by: many
Approved by: re@
Notes:
svn path=/head/; revision=166901
|
|
unnecessary.
Notes:
svn path=/head/; revision=158651
|
|
Notes:
svn path=/head/; revision=150396
|
|
Provide a backwards compatible way to have the extra macro by defining
PCCARD_API_LEVEL 5 before including pccarddevs for driver writers that
want/need to have the same driver on 5 and 6 with pccard attachments.
Approved by: re (dwhite)
Notes:
svn path=/head/; revision=147580
|
|
and amd64. The optimization is a trivial on recent machines.
Reviewed by: -arch (imp, marcel, dfr)
Notes:
svn path=/head/; revision=146734
|
|
o remove unneeded {}
o no need to bzero sc
Notes:
svn path=/head/; revision=141231
|
|
Notes:
svn path=/head/; revision=139749
|
|
o Make debugging code conditional upon KDB instead of DDB.
Notes:
svn path=/head/; revision=131915
|
|
redundant includes and fix some of the include disordering.
Submitted by: bde
Notes:
svn path=/head/; revision=129764
|
|
the modules.
Also generate usbdevs.h automatically now, but a non-kernel file is
stopping that at the moment.
Notes:
svn path=/head/; revision=129740
|
|
Submitted by: Mark Santcroos <marks@ripe.net>
Reviewed by: imp, dfr, bde
Notes:
svn path=/head/; revision=127135
|
|
MI area before they proliferate more.
Notes:
svn path=/head/; revision=126928
|
|
Also some minor style cleanups.
Notes:
svn path=/head/; revision=119418
|
|
o Add needed headers.
o Add nsp_producs[] product data and nsp_match() function.
o Change nsp_pccard_method[] to support both OLDCARD and NEWCARD.
o Add warning to fall back to PIO mode when it cannot use SMIT mode.
This is needed because memories are not allocated with NEWCARD now.
Submitted by: takawata
Approved by: re
Notes:
svn path=/head/; revision=107361
|
|
as I just removed from ncr53c500_pccard.c.
Sponsored by: DARPA & NAI Labs.
Notes:
svn path=/head/; revision=103692
|
|
Notes:
svn path=/head/; revision=102291
|
|
ifdef out what appears to be a bogus call to softintr using data
elements that aren't in the softc.
Notes:
svn path=/head/; revision=97684
|
|
will be updated to only define(__i386__) for ANSI cleanliness.
Notes:
svn path=/head/; revision=97554
|
|
Notes:
svn path=/head/; revision=92739
|
|
o Add KLD dependency of ncv, nsp and stg drivers to scsi_low.
Submitted by: takawata
Notes:
svn path=/head/; revision=87983
|
|
This will not affect either -current nor -stable.
Notes:
svn path=/head/; revision=85962
|
|
We should use 1 to request default iomem.
Pointed-out-by: imp
Notes:
svn path=/head/; revision=82922
|
|
A nsp chip does suspend I/O write by 512bytes burst write,
though the chip only has 48 bytes FIFO. The chip assert I/O WAIT
signal to PC-Card bus after the CPU writes more than 48 bytes to
the chip if the SCSI device does not respond immediately in supsend
I/O burst write. If the device does not respond for a while it might
cause PC-Card bus timeout.
The previous work around was to wait the request from SCSI device.
But there are some devices which request bytes for synchronous transfer
immediately. So current work aound is to fill 32bytes FIFO, wait for
FIFO empty and burst write 512-32 bytes for every 512 bytes block.
Submitted-by: Honda-san (the author of the driver)
Obtained-from: NetBSD/pc98
Notes:
svn path=/head/; revision=82784
|
|
bus_alloc_resource(dev, SYS_RES_IOPORT, ...)
Pointed-out by: Yamamoto-san shigeru@iij.ad.jp
Notes:
svn path=/head/; revision=82782
|
|
o Much cleanly separate NetBSD(XS) / FreeBSD(CAM) codes.
o Improve tagged queing support (full QTAG).
o Improve quirk support.
o Improve parity error retry.
o Impliment wide negotheation.
o Cmd link support.
o Add copyright of CAM part.
o Change for CAM_NEW_TRAN_CODE.
o Work around for buggy KME UJDCD450.
o stg: add disconnet condition.
o nsp: use suspend I/O.
and more. I thank Honda-san.
conf/options.pc98: add CT_USE_RELOCATE_OFFSET and CT_BUS_WEIGHT
dev/{ct,ncv,nsp,stg}/*_{pccard,isa}.c: add splcam() before calling
attach/detach functions.
Tested by: bsd-nomads
Obtained from: NetBSD/pc98
Notes:
svn path=/head/; revision=79697
|
|
I could find. I have no doubt missed a couple.
Interrupt entropy harvesting is still conditional on the
kern.random.sys.harvest_interrupt sysctl.
Notes:
svn path=/head/; revision=73280
|
|
o Check if it is in PIO_MODE when memory window is not handed.
Notes:
svn path=/head/; revision=73029
|
|
o Offset and period in synch messages and width negotiation should be
done for per target not per lun. Move these from *lun_info to
*targ_info.
o Change in handling XPT_RESET_DEV and XPT_GET_TRAN_SETTINGS .
o Change CAM_* xpt_done return values.
o Busy loop did not timeout. Change this to timeout as original NetBSD/pc98.
Reviewed by: bsd-nomads ML
Notes:
svn path=/head/; revision=73025
|
|
#ifdef's as it is only used in older versions of FreeBSD.
Notes:
svn path=/head/; revision=71470
|
|
called so that it can be inlined.
Notes:
svn path=/head/; revision=71468
|
|
an apm include file but had no other apm references.
Notes:
svn path=/head/; revision=71260
|
|
Notes:
svn path=/head/; revision=70834
|
|
It was possible cause of kernel panic.
Pointed Out by: phk@FreeBSD.ORG
Notes:
svn path=/head/; revision=70597
|
|
used in lower layer (scsi_low.c).
The flag of ncv for KME KXLC004 was chaged from 0x1 to 0x100.
The flag of nsp for PIO mode was chaged from 0x1 to 0x100.
Notes:
svn path=/head/; revision=67848
|
|
(a NetBSD port for NEC PC-98x1 machines). They are ncv for NCR 53C500,
nsp for Workbit Ninja SCSI-3, and stg for TMC 18C30 and 18C50.
I thank NetBSD/pc98 and bsd-nomads people.
Obtained from: NetBSD/pc98
Notes:
svn path=/head/; revision=67468
|