public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
From: Andreas Bombe <bombe@informatik.tu-muenchen.de>
To: linux-kernel@vger.kernel.org
Subject: 2.5.1 API change summary rev. 2
Date: Tue, 18 Dec 2001 22:35:42 +0100	[thread overview]
Message-ID: <20011218213542.GA3217@storm.local> (raw)
In-Reply-To: <20011218031427.GA5990@storm.local> <20011218100609.C5273@kroah.com>
In-Reply-To: <20011218100609.C5273@kroah.com>

Thanks to Greg KH and David Brownell for helping me with the USB
changes.  Here is an updated version:

=======================================================================

	GENERAL CHANGES:

	include/linux/cache.h:

New macro __cacheline_aligned_in_smp that expands to __cacheline_aligned
on SMP and to nothing on UP.


	include/linux/kernel.h:

New macro BUG_ON(condition) which is equivalent to 
	if (condition) BUG();

The condition is also hinted "unlikely" to the compiler, which gives
better optimization on recent gcc versions even while decreasing typing
work.  (And if you update your code today, we'll throw in this set of
kitchen knives which will stay sharp as a razor forever...)


	include/linux/mempool.h (new):

Memory buffer pools introduced.  "Such pools are mostly used for
guaranteed, deadlock-free memory allocations during extreme VM load."


	include/linux/device.h (new):
	include/linux/driverfs_fs.h (new):

Centralized driver model introduced.  This allows all devices
independent of bus to be registered in a common tree and to improve
power management.  See Documentation/driver-model.txt.


	BLOCK DEVICES:

	include/linux/types.h:

Typedef sector_t for block device sector numbers introduced to allow
making its size an option.


	include/linux/genhd.h:

get_start_sect() and get_nr_sects() on kdev_t introduced.


	include/linux/bio.h (new):
	include/linux/blkdev.h:
	include/linux/fs.h:
	include/linux/highmem.h:

New block IO layer introduced.


	SCSI:

	drivers/scsi/hosts.h:

Scsi_Host_Template and Scsi_Host include new flag highmem_io, the flag
use_new_eh_code is removed along with the old error handling interface.


	drivers/scsi/scsi.h:

- New sg list allocation functions scsi_alloc_sgtable() and
  scsi_free_sgtable().

- Function initialize_merge_fn() renamed to scsi_initialize_merge_fn().
  Function recount_segments() removed, scsi_init_io() added.


	USB:

	include/linux/usb.h:

- Lots of documentation added.  Not really an API change but you might
  want to know.

- HID specific defines and functions moved into include/linux/usb.h.

- FILL_BULK_URB_TO and FILL_INT_URB_TO macros removed as they were
  not being used.

- New inline functions usb_fill_control_urb(), usb_fill_bulk_urb() and
  usb_fill_int_urb() replace the FILL_*_URB macros.


	drivers/usb/hid.h:

HID class defines and functions moved here.

=======================================================================

-- 
Andreas Bombe <bombe@informatik.tu-muenchen.de>    DSA key 0x04880A44

  parent reply	other threads:[~2001-12-18 21:39 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2001-12-18  3:14 2.5.1 API change summary Andreas Bombe
2001-12-18 18:06 ` Greg KH
2001-12-18 18:55   ` Greg KH
2001-12-18 21:35   ` Andreas Bombe [this message]
2001-12-18 19:28 ` Randy.Dunlap

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20011218213542.GA3217@storm.local \
    --to=bombe@informatik.tu-muenchen.de \
    --cc=linux-kernel@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox